MCP: Enforcement Data
The Court Rules MCP server gives AI agents access to structured enforcement actions from the FTC, HHS, and 19 state attorneys general. Three tools let you search events, get full details, and aggregate statistics.What you get
Three enforcement-focused tools:
The same MCP server also provides six court rules tools for filing compliance. See MCP: Court Rules.
Quick start
Add the server to your AI client, then sign in when the client asks. It opens console.courtrules.app in your browser, you sign in and approve the connection once, and the client keeps you signed in after that.Claude Code
/mcp in Claude Code, select court-rules, and choose Authenticate.
Claude Desktop and claude.ai
Open Settings > Connectors > Add custom connector. EnterCourt Rules as the name and https://mcp.courtrules.app/mcp as the URL, click Add, then click Connect and sign in.
Cursor
Add to~/.cursor/mcp.json, then open Cursor Settings > MCP and click the sign-in prompt next to court-rules:
VS Code
Add to.vscode/mcp.json. VS Code asks you to sign in the first time it starts the server.
Codex CLI
Scripts, backends, and clients without sign-in
Send the API key from your console dashboard asAuthorization: Bearer <api_key>. Keys do not expire. See Authentication for header configs and an SDK example.
Once connected, try asking your agent: “What privacy enforcement actions happened in California this year?”
Tool reference
search_enforcement_actions
Search privacy and regulatory enforcement events. Filters combine with AND logic. Parameters:
Example request:
{"jurisdiction": "CA", "limit": 1}
Example response:
get_enforcement_details
Get full details for a specific enforcement event, including laws cited, remedies, and verbatim source quotes. Parameters:
Example response:
get_enforcement_stats
Aggregate enforcement data by dimension. Parameters:
Example request:
{"group_by": "jurisdiction"}
Example response:
Integration patterns
Regulatory feed widget
Usesearch_enforcement_actions with jurisdiction and industry filters to surface relevant enforcement events in your legal workspace. Poll periodically for new events.
Auto-matter creation
When a relevant enforcement event appears, automatically create a matter in your legal workspace:Agent-powered research
Combine tools for research queries:Polling for new events
The MCP server does not push notifications when new enforcement events are added. To check for new events, pollsearch_enforcement_actions with a date_from filter set to your last check time:
Response field reference
Key fields in enforcement event responses, with types and null semantics:Error handling
MCP tool calls return errors as text content, not HTTP error codes. If a tool encounters an error (invalid parameters, database unavailable), the response will contain a descriptive error message in thecontent array:
- Invalid event_id:
"No enforcement event found with ID \"...\"." - Invalid group_by:
"Invalid group_by value \"...\". Must be one of: jurisdiction, violation_type, risk_level, month" - Database error:
"Error querying enforcement data: ..."
mcp.courtrules.app does not currently enforce rate limits on MCP tool calls.
Current limitations
- No webhooks yet: Poll for new events using
date_fromfilters - No real-time streaming: Events appear within 24-48 hours of government announcement
- Read-only: The MCP server provides data access only, no write operations
Next steps
- Browse enforcement data to see the data quality
- Try the MCP playground to test tools interactively
- MCP: Court Rules for filing compliance tools on the same MCP server