Midwest Legal Docs

io.github.grazy88v1.0.0Updated Oct 10, 2026

Legal-form catalog, search, and checkout for AI agents. Document prep only; not a law firm.

VerifiedStreamable HTTPWeb executableBusiness & CommerceProductivity & Workflow

Overview

AI-generated overview

Lets an assistant browse a legal-form catalog, search forms by keyword, state or category, start Stripe checkout sessions, and check order status.

What it does
This remote MCP server wraps the Midwest Legal Docs agent API. It exposes tools to list all form products with id, title and price, search the catalog by keyword, state or category, create a Stripe checkout session, and look up an order or checkout session status. It is a document-preparation catalog only and is not a law firm.
When to use it
Use it when an assistant needs to help someone find and purchase legal form documents, for example searching for a state-specific form or starting a checkout. It is not a source of legal advice.
Requirements
The hosted endpoint needs no local runtime. Running it yourself requires Node.js, an MLD_AGENT_API_KEY environment variable, and optionally PORT and ALLOWED_HOSTS. The checkout tool requires an API key.
Before you install
The checkout tool creates Stripe checkout sessions, which can lead to a payment. The server requires the MLD_AGENT_API_KEY secret when self-hosted. It is document preparation only and does not provide legal advice.

Installation

In SourceWeft

  1. Open Midwest Legal Docs in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "midwest-legal-docs": {
      "type": "http",
      "url": "https://midwest-legal-docs-mcp.onrender.com/mcp"
    }
  }
}

README

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

bash
npm installnpm run buildMLD_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.

Source: README.md at commit 122aa2c

Tools

0
Tool metadata has not been indexed yet.

Version history

1
  1. v1.0.0LatestOct 10, 2026