Midwest Legal Docs README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Midwest Legal Docs listing page.

Midwest Legal Docs — MCP Server

MCP (Model Context Protocol) server wrapping the Midwest Legal Docs agent API. Lets AI agents browse the legal-form catalog, create Stripe checkout sessions, and look up orders — all through standard MCP tools.

Document preparation only. Midwest Legal Docs is not a law firm and does not provide legal advice.

Tools

ToolDescription
get_catalogList all form products with id, title, price
search_catalogSearch by keyword, state, category
create_checkout_sessionCreate a Stripe checkout (requires API key)
get_orderLook up order / checkout session status

Run locally

Terminal
npm install
npm run build
MLD_AGENT_API_KEY=your-key PORT=3000 npm start

Health check: GET /health · MCP endpoint: POST /mcp

Deploy

Designed for Render / Railway / any Node host. Set MLD_AGENT_API_KEY and ALLOWED_HOSTS env vars.