Midpage
Midpage is an AI-powered legal research and drafting platform built on its own US legal database of millions of court opinions, statutes, and regulations spanning federal and state jurisdictions. Its developer products expose this corpus through a REST case-law API (semantic, keyword, and hybrid search; opinion retrieval; citator treatments), a Model Context Protocol (MCP) server for AI agents, and direct SQL read-replica access.
APIs
Midpage Case Law Search API
Full-text keyword search over US court opinions with Lexis/Westlaw-style boolean, phrase, wildcard, and proximity (W/n) operators, plus hybrid search that fuses keyword and sema...
Midpage Document Retrieval API
Retrieve full opinion data by opinion ID, reporter citation, or docket number, with bulk reads of up to 100 items per request. Optionally include full HTML opinion content and d...
Midpage Citations API
Bluebook-style citation lookup and AI-powered citator data returned with retrieved opinions - reporter citations, citation counts, an overall treatment signal (Negative, Caution...
Midpage Semantic Search API
Vector similarity search over court opinions using AI embeddings, ranking results by semantic similarity for conceptual queries. Exposed as the `semantic` mode of the POST /sear...
Midpage MCP Server
Remote Model Context Protocol server (OAuth-authenticated) that gives AI assistants like Claude, ChatGPT, and Perplexity source-grounded legal research tools - search, findInOpi...