Developers
Mandate API and MCP server
Every bill and regulation in all 50 states, DC, Puerto Rico and Congress, with the Mandate Signal, in your own tools or inside Claude, ChatGPT and Cursor.
Get started
- Sign in to Mandate and open Settings, then API and MCP.
- Choose an API plan, or the MCP add-on. National includes MCP already.
- Create a key. It starts with mdt_ and is shown once, so copy it somewhere safe.
Connect an AI assistant (MCP)
The MCP server lets an AI assistant search Mandate and read bill detail on your behalf. It only reads data; it never changes anything in your account.
Claude.ai and other apps that support sign in. Add a custom connector with this address and choose Connect. You sign in with your Mandate account and press Allow; no key needed. Disconnect any time in Settings, API and MCP.
https://mandatepolicy.com/api/mcp
Apps that take only a web address and can’t sign in. Put your key in the address. Treat it like a password.
https://mandatepolicy.com/api/mcp/mdt_your_key
Claude Code.
claude mcp add --transport http mandate https://mandatepolicy.com/api/mcp \ --header "Authorization: Bearer mdt_your_key"
Cursor (.cursor/mcp.json) and other apps that send headers:
{
"mcpServers": {
"mandate": {
"url": "https://mandatepolicy.com/api/mcp",
"headers": { "Authorization": "Bearer mdt_your_key" }
}
}
}Tools the assistant can use:
- search_bills. Find bills by keyword, number, state or type.
- get_bill. Status, Mandate Signal, sponsors, actions and votes for one bill.
- search_officials. Look up lawmakers and officials.
- list_tracked_bills. Your organization's tracked bills with AI impact notes.
- get_usage. Calls used this month. Free.
REST API
Send your key as a bearer token. Responses are JSON.
curl -H "Authorization: Bearer mdt_your_key" \ "https://mandatepolicy.com/api/v1/bills?q=data%20privacy&jurisdiction=TX&limit=10"
- GET /api/v1/bills. Search bills and regulations. Parameters: q (keywords or a bill number), jurisdiction (TX, US), type (bill, regulation), limit (up to 50), offset.
- GET /api/v1/bills/{id}. One bill: stages, Mandate Signal with its reasons, sponsors, committees, recent actions, votes, text versions and hearings.
- GET /api/v1/officials. Search members of Congress, state legislators and senior officials. Parameter: q.
- GET /api/v1/tracked. Bills your organization tracks in Mandate, with AI impact notes. Parameter: limit (up to 100).
- GET /api/v1/usage. Calls used this month, your limit and the reset date. Free.
Bill ids come from search results, for example legiscan:1234567. Every response includes a link to the bill in Mandate and the source’s own link.
Limits and errors
- Each search, bill, officials or tracked request counts as one call. Usage checks are free.
- Calls reset on the 1st of each month (UTC). Responses carry X-Mandate-Calls-Used and X-Mandate-Monthly-Limit.
- Each key allows 120 requests a minute and 600 bill detail requests an hour.
- 401 means a missing or revoked key, 403 a plan that does not cover the request, 429 a rate or monthly limit.
- The API covers current sessions. Closed sessions stay available in the Mandate app.
Pricing
- API, $299 a month. 50,000 calls a month, every state and Federal, MCP included. No policy plan needed.
- API Pro, $599 a month. 250,000 calls a month, every state and Federal, MCP included. No policy plan needed.
- MCP add-on, $99 a month. 10,000 tool calls a month on Starter and Multistate, for the states in your plan. Included in National.
- Yearly billing is 10 times the monthly price. Need more calls or bulk data? Email hello@mandatepolicy.com.
About the data
State bill data comes from LegiScan and is licensed under CC BY 4.0; credit LegiScan wherever you show it. Each result carries the attribution text. The Mandate Signal is a rule based read of how likely a bill is to move, not a prediction. AI impact notes are a first read, not legal advice.