{
  "serverInfo": {
    "name": "corpus-legal",
    "title": "Corpus Legal — US Law Search + Business Formation",
    "version": "1.2.1"
  },
  "protocolVersion": "2025-06-18",
  "transport": {
    "type": "streamable-http",
    "url": "https://corpuslaw.us/api/mcp"
  },
  "authentication": {
    "required": false,
    "schemes": [
      "bearer"
    ],
    "description": "No auth required — anonymous callers get 250 searches/month at 10 req/min, per IP. Send 'Authorization: Bearer <api key>' for 1,000 searches/month at 30 req/min, renewing on the 1st: free API keys are self-serve and instant at https://corpuslaw.us/settings, with no review step and no expiry. Form a company through Corpus and your key permanently gets 5,000 searches/month at 60 req/min. Beyond the free allotment, research is $0.005 per search from prepaid credit packs — as low as $0.0033 each in the larger packs — and credits never expire. All formation tools are always free and are never blocked by a research quota."
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    },
    "resources": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "law.search",
      "title": "Search US law",
      "description": "Searches US federal, state, and municipal law by topic or keyword (legality, permits, zoning, licensing, compliance, filing requirements). Returns ranked provisions with verbatim citations, headings, snippets, and node ids. `jurisdiction` limits results to one state, federal law, or a city.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Natural-language or keyword query, e.g. 'distillery permit requirements'."
          },
          "jurisdiction": {
            "type": "string",
            "description": "Optional short code to scope the search, e.g. 'TX', 'US', or 'CA-SF'. Valid codes are listed by law.list_coverage. 'US' means federal law only; a state or city code includes its sub-jurisdictions. Without it, every jurisdiction is searched."
          },
          "mode": {
            "type": "string",
            "enum": [
              "hybrid",
              "semantic",
              "keyword"
            ],
            "default": "hybrid",
            "description": "Retrieval mode. 'hybrid' (default) fuses vector similarity with keyword search."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 25,
            "default": 8,
            "description": "Number of results to return (1–25)."
          }
        },
        "required": [
          "query"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "title": "Search US law"
      }
    },
    {
      "name": "law.get_node",
      "title": "Get a law provision",
      "description": "Returns the full official text, citation, and hierarchy of one legal provision, by its node id (the UUID in search results).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Node UUID, as returned in law.search results."
          }
        },
        "required": [
          "id"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "title": "Get a law provision"
      }
    },
    {
      "name": "law.list_coverage",
      "title": "List covered jurisdictions",
      "description": "Lists the covered jurisdictions (federal, state, and municipal) with per-jurisdiction provision counts, searchable-chunk counts, GIS status, and a placeholder flag.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "title": "List covered jurisdictions"
      }
    },
    {
      "name": "account.status",
      "title": "Check account status",
      "description": "Reports the credit balance, tier, rate limits, and upgrade options for the API key on this connection, or the free-tier allowance and the key URL for an anonymous caller. Free — this call does not consume a credit. Also mints or returns a referral code; `referral_code` on later calls keeps the same referral identity.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "referral_code": {
            "type": "string",
            "description": "An active referral code returned by an earlier account.status call; it keeps the same referral identity. An inactive code is replaced with a new one."
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": true,
        "title": "Check account status"
      }
    },
    {
      "name": "formation.requirements",
      "title": "Get LLC or nonprofit formation requirements",
      "description": "Returns the intake checklist for forming an LLC (limited liability company) or nonprofit corporation in one US state: every required field, that state's specific questions, live all-in pricing including the state filing fee, and the optional EIN add-on with its price when available. Free; does not consume credits.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "entityType": {
            "type": "string",
            "enum": [
              "llc",
              "nonprofit"
            ],
            "description": "Entity type to form."
          },
          "state": {
            "type": "string",
            "description": "Two-letter US state code, e.g. 'MS', 'WY', 'DE'."
          }
        },
        "required": [
          "entityType",
          "state"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "title": "Get LLC or nonprofit formation requirements"
      }
    },
    {
      "name": "formation.compare",
      "title": "Compare LLC formation services",
      "description": "Compares LLC formation providers on price, recurring costs, registered-agent renewals, and machine/agent capabilities, from a dated dataset of 19 LLC services + 1 adjacent verified against primary sources. Corpus is one of the compared providers and is scored with the same rubric, including its own gaps; the response says so. Free; does not consume credits.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "providers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Specific providers to compare, by name or slug (e.g. ['corpus','legalzoom']). Absent = a ranked field. A name with no dossier is listed in the response rather than dropped."
          },
          "view": {
            "type": "string",
            "enum": [
              "overall",
              "lowest_total_cost",
              "most_transparent",
              "most_agentic",
              "developer"
            ],
            "description": "overall (default, by Agentic Readiness) · lowest_total_cost (parsed first-year estimate) · most_transparent · most_agentic · developer (public MCP/API only)."
          },
          "limit": {
            "type": "integer",
            "description": "How many providers to return in a ranked view. Default 5, max 19. Ignored when 'providers' is given."
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "title": "Compare LLC formation services"
      }
    },
    {
      "name": "formation.lookup_naics",
      "title": "Find a NAICS industry code",
      "description": "Returns candidate NAICS industry codes (typically 2–6) for a plain-English business description. A code is required for every LLC, and for nonprofits in AK, CT, LA, MS, TN, WV. Free; does not consume credits.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "businessDescription": {
            "type": "string",
            "maxLength": 500,
            "description": "What the business does, in plain words."
          }
        },
        "required": [
          "businessDescription"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "title": "Find a NAICS industry code"
      }
    },
    {
      "name": "formation.handoff",
      "title": "Validate and hand off an LLC or nonprofit formation draft",
      "description": "Validates an LLC or nonprofit formation draft (people, address, management, EIN answers, state-specific answers) and returns exactly what is still missing. A complete draft also returns a prefilled corpuslaw.us link that opens the formation agent with every detail loaded, where the founder reviews, signs in, and pays. Free; does not consume credits.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "entityType": {
            "type": "string",
            "enum": [
              "llc",
              "nonprofit"
            ],
            "description": "Entity type to form."
          },
          "state": {
            "type": "string",
            "description": "Two-letter US state code, e.g. 'MS', 'WY', 'DE'."
          },
          "proposedName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Proposed company name."
          },
          "contactEmail": {
            "type": "string",
            "maxLength": 254,
            "description": "Founder contact email."
          },
          "naicsCode": {
            "type": "string",
            "pattern": "^\\d{2,6}$",
            "description": "NAICS industry code, 2–6 digits (formation.lookup_naics returns candidates)."
          },
          "businessActivity": {
            "type": "string",
            "maxLength": 500,
            "description": "In one plain sentence, what the business actually does, in the founder's words (not the company name). Corpus researches the licenses and permits that apply from this."
          },
          "principalOffice": {
            "type": "object",
            "description": "Principal office address. Street, city and state are required for a complete draft. In Wyoming and Delaware, an office outside the US needs street, city and country instead; state is then the province or region, if it has one. Maryland and New York need an office in that state.",
            "properties": {
              "line1": {
                "type": "string"
              },
              "line2": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "postalCode": {
                "type": "string"
              },
              "country": {
                "type": "string",
                "description": "Two-letter country code, e.g. 'CN'. Absent means a US address."
              }
            }
          },
          "management": {
            "type": "string",
            "enum": [
              "member_managed",
              "manager_managed"
            ],
            "description": "LLC management type."
          },
          "parties": {
            "type": "array",
            "description": "The people. LLC: at least one 'member' and an 'organizer' (one person holding both roles appears as two entries). Nonprofit: an 'incorporator' and at least 3 'director' entries (plus officers where the state requires them).",
            "items": {
              "type": "object",
              "properties": {
                "role": {
                  "type": "string",
                  "enum": [
                    "organizer",
                    "member",
                    "manager",
                    "director",
                    "incorporator",
                    "president",
                    "secretary",
                    "treasurer"
                  ]
                },
                "fullName": {
                  "type": "string",
                  "maxLength": 120
                },
                "email": {
                  "type": "string",
                  "maxLength": 254
                }
              },
              "required": [
                "role",
                "fullName"
              ]
            }
          },
          "nonprofit": {
            "type": "object",
            "description": "Nonprofit-only fields.",
            "properties": {
              "purposeStatement": {
                "type": "string",
                "description": "At least 20 characters."
              },
              "hasDissolutionClause": {
                "type": "boolean"
              },
              "exemptionIntent": {
                "type": "string",
                "enum": [
                  "none",
                  "501c3_later",
                  "501c3_now"
                ]
              }
            }
          },
          "ein": {
            "type": "object",
            "description": "Optional EIN (federal tax ID) add-on, when available — formation.requirements states whether it can currently be sold and at what price. `wanted` records the founder's decision. No Social Security Number is accepted here: the founder enters it in a secure panel on corpuslaw.us.",
            "properties": {
              "wanted": {
                "type": "boolean"
              },
              "responsibleParty": {
                "type": "object",
                "properties": {
                  "fullName": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string"
                  }
                }
              },
              "startDate": {
                "type": "string",
                "description": "Company start date, MM/DD/YYYY."
              },
              "principalActivity": {
                "type": "string",
                "description": "Principal business activity in a few plain words."
              },
              "numberOfMembers": {
                "type": "number"
              },
              "hasEmployees": {
                "type": "boolean",
                "description": "W-2 employees expected in the next 12 months."
              },
              "firstDateWagesPaid": {
                "type": "string",
                "description": "MM/DD/YYYY — only when hasEmployees."
              },
              "agriculturalEmployees": {
                "type": "number"
              },
              "otherEmployees": {
                "type": "number"
              },
              "taxLiabilityUnder1000": {
                "type": "boolean"
              },
              "trucking": {
                "type": "boolean"
              },
              "gambling": {
                "type": "boolean"
              },
              "exciseTax": {
                "type": "boolean"
              },
              "sellsTobaccoAlcoholFirearms": {
                "type": "boolean"
              }
            }
          },
          "stateSpecificAnswers": {
            "type": "object",
            "description": "Per-state quirk answers under the EXACT keys shown by formation.requirements (e.g. \"would_you_like_to_list_members_managers_on_the_state_record\"). Values are strings or booleans.",
            "additionalProperties": {
              "type": [
                "string",
                "boolean"
              ]
            }
          },
          "expedite": {
            "type": "boolean",
            "description": "Optional expedited state filing, available only in states where formation.requirements lists an EXPEDITE line (the price and listed days are in that line). true records that the founder chose it."
          },
          "expediteSkipReview": {
            "type": "boolean",
            "description": "Optional, with expedite: true, where formation.requirements shows a SKIP REVIEW line. true records that the founder heard that SKIP REVIEW sentence verbatim and explicitly agreed. It takes effect only on an order an agent pays for directly, where the founder's email confirmation page shows the choice again before anything is filed. A handoff link ignores it: on the page the founder ticks it themselves."
          },
          "referral_code": {
            "type": "string",
            "description": "A referral code issued by account.status. With a valid code the founder saves 25% of the Corpus service fee and the order is credited to the code; an absent or unrecognised code changes nothing about the link."
          }
        },
        "required": [
          "entityType",
          "state"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "title": "Validate and hand off an LLC or nonprofit formation draft"
      }
    },
    {
      "name": "formation.status",
      "title": "Track an LLC or nonprofit formation order",
      "description": "Reports where an LLC or nonprofit formation order is, from its orderId and trackingToken (returned when an agent checks the order out, and carried in the founder's order-tracking link): its phase (awaiting payment, awaiting the founder's emailed confirmation, in Corpus's review, filing, submitted to the state, accepted by the state, completed), a dated milestone list, the state's confirmation number once the filing is submitted, and the certificate URL once it exists. filingSubmitted is the only field that means the state has the filing. Read-only; no API key; free, does not consume credits.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "description": "The order's id, as the checkout result or the tracking link gives it."
          },
          "trackingToken": {
            "type": "string",
            "description": "The order's tracking token, returned with the orderId."
          }
        },
        "required": [
          "orderId",
          "trackingToken"
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Human-readable tool result (also mirrored in content[].text)."
          },
          "isError": {
            "type": "boolean",
            "description": "True when the tool could not complete successfully."
          }
        },
        "required": [
          "text"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true,
        "title": "Track an LLC or nonprofit formation order"
      }
    }
  ],
  "documentation": "https://corpuslaw.us/docs/mcp",
  "links": {
    "openapi": "https://corpuslaw.us/api/v1/openapi.json",
    "restApi": "https://corpuslaw.us/docs/api",
    "discovery": "https://corpuslaw.us/api/v1",
    "llmsTxt": "https://corpuslaw.us/llms.txt",
    "llmsFullTxt": "https://corpuslaw.us/llms-full.txt",
    "verify": "https://corpuslaw.us/verify",
    "agentSkill": "https://corpuslaw.us/skills/corpus-business-formation/SKILL.md",
    "ard": "https://corpuslaw.us/.well-known/ard.json",
    "aiCatalog": "https://corpuslaw.us/.well-known/ai-catalog.json",
    "serverCard": "https://corpuslaw.us/api/mcp/server-card"
  },
  "homepage": "https://corpuslaw.us",
  "icon": "https://corpuslaw.us/nous.png"
}
