A legal document assistant for document analysis, contract drafting, and case law research via LLM integration.

Mike screenshot 1

Mike is an open-source, self-hosted web app that serves as a legal document assistant. It provides tools for document analysis, contract drafting, and tabular review through a web application. The software is deployed as a server with a Next.js frontend and an Express backend, allowing legal professionals to maintain full control over their sensitive data and avoid the licensing costs associated with proprietary legal AI platforms.

Users manage legal projects by chatting with documents and utilizing reusable workflows to automate repetitive tasks. The system requires a Supabase project for authentication and database management, as well as S3-compatible object storage such as Cloudflare R2 or MinIO for file handling. It is designed to be flexible, allowing for both global instance-wide API configurations and individual user-level key management.

Key features

  • Integration with Anthropic, Google Gemini, and OpenAI model providers
  • US case law citation verification and opinion search via CourtListener
  • Support for local bulk data imports of CourtListener metadata and opinions
  • Document conversion from DOC and DOCX to PDF using LibreOffice
  • Per-user configuration for model and API provider keys
  • Project-based organization for chatting with legal documents
  • S3-compatible object storage for document management

The architecture relies on a PostgreSQL database via Supabase and uses an Express API to handle document processing and schema migrations. For legal research, the software integrates with CourtListener to provide case-law panels in assistant responses and targeted opinion searches. To optimize performance and bypass API rate limits, the system can be configured to read citation metadata and opinion JSON from local storage before falling back to live API requests.

This tool is intended for legal practitioners and firms that need a private environment for AI-assisted document review. By combining a modern web stack with flexible LLM provider support, it creates a customizable infrastructure for legal automation.

Mike is a private, customizable infrastructure for legal AI automation.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity15 days ago
Repository Age3 months
LicenseAGPL-3.0
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.