Made For Law MCP Server
Access your leads and calculator data from Claude Code, Cursor, Windsurf, or any MCP-compatible AI agent — using your MFL API key.
Pull your latest leads, filter by calculator or status, and review results — all within your AI coding tool without switching tabs.
MCP protocol means Claude Code, Cursor, or Windsurf can fetch your data mid-conversation. No copy-paste, no tab-switching.
Each connection uses a personal API key from your portal. Keys are scoped to your account only and can be revoked any time.
Step 1 — Get Your API Key
Your MFL API key is in the portal under Settings → API Keys. If you don't have an account yet, start a free trial — takes 2 minutes.
Step 2 — Add to Your AI Tool
~/.mcp.json or project root .mcp.json{
"mcpServers": {
"madeforlaw": {
"type": "http",
"url": "https://portal.madeforlaw.com/api/v1/mcp",
"headers": {
"Authorization": "Bearer YOUR_MFL_API_KEY"
}
}
}
}Replace YOUR_MFL_API_KEY with the key from your portal. Restart Claude Code after saving.
Step 3 — Try It
Once connected, ask your AI assistant about your leads and calculator activity. Here are some starting points:
get_leadsShow me my 10 most recent probate leads and their status.
[
{ "name": "Jane Smith", "email": "[email protected]", "calculatorSlug": "probate",
"state": "OH", "status": "new", "createdAt": "2026-04-15T14:32:00Z" },
{ "name": "Robert Chen", "email": "[email protected]", "calculatorSlug": "probate",
"state": "CA", "status": "contacted", "createdAt": "2026-04-14T09:12:00Z" }
... 8 more
]get_calculator_resultsWhat calculator results came in this week? Focus on estate tax.
[
{ "calculatorSlug": "estate-tax", "state": "WA",
"metadata": { "estateValue": 3200000, "federalTax": 0, "stateTax": 82000 },
"createdAt": "2026-04-15T11:44:00Z" },
{ "calculatorSlug": "estate-tax", "state": "NY",
"metadata": { "estateValue": 1850000, "federalTax": 0, "stateTax": 24200 },
"createdAt": "2026-04-14T16:22:00Z" }
]get_directory_statsGive me a 30-day summary — which calculators are getting the most leads?
{
"windowDays": 30,
"totalLeadsAllTime": 847,
"leadsInWindow": 134,
"byStatus": { "new": 89, "contacted": 31, "converted": 14 },
"topCalculators": [
{ "slug": "probate", "name": "Probate Cost Calculator", "count": 67 },
{ "slug": "executor-fee", "name": "Executor Fee Calculator", "count": 28 },
{ "slug": "estate-tax", "name": "Estate Tax Calculator", "count": 18 }
]
}Available Tools
Three tools are available in the current release. More are coming — calculator history export, lead scoring, and PDF generation.
get_leadsRetrieve your leads. Filter by status (new, contacted, converted), calculator slug, or date range. Returns contact info, state, and calculator results.
get_calculator_resultsCompleted calculator sessions from your embeds. Filter by calculator slug or date. Returns state, metadata, and calculation outputs.
get_directory_stats30-day (or custom window) summary: total leads, leads by status, and top calculators by lead volume.
API Reference
POST https://portal.madeforlaw.com/api/v1/mcp
Standard JSON-RPC 2.0 over HTTP POST. Include your API key as a Bearer token in the Authorization header.
Your data, your access only
Each API key is scoped to your account only. The MCP server returns leads and calculator data for your firm — not any other firm's. Keys can be revoked instantly from Settings → API Keys.