Clearon Legislation Monitor MCP
Clearon Legislation Monitor MCP
MCP server for review-gated U.S. legislation discovery and watchlist monitoring.
It separates discovery leads from verified watchlist entries, records append-only observations and exceptions, and keeps official-source review in the loop before a measure becomes authoritative.
What it does
Records discovery candidates without silently promoting them into the watchlist
Requires explicit human review before watchlist acceptance
Tracks official-source observations, due reviews, and retrieval exceptions
Replays an append-only event log into a rebuildable snapshot
Optionally uses Open States and NYC Legistar as discovery helpers, never as final proof
What it does not do
It does not publish content or modify WordPress
It does not treat a keyword hit as legal verification
It does not treat third-party discovery results as source-of-record status
It does not convert retrieval failures into legal-status changes
Requirements
Node.js
20or newerA local MCP client that can launch a stdio server
Installation
cd tools/clearon-legislation-monitor-mcp
npm install
npm test
npm run smokeMCP client setup
Example stdio configuration:
{
"mcpServers": {
"clearon-legislation-monitor": {
"command": "node",
"args": ["/absolute/path/to/clearon-legislation-monitor-mcp/server.mjs"],
"env": {
"CLEARON_LEGISLATION_WORKSPACE": "/absolute/path/to/workspace"
}
}
}
}If your normalized tracker inputs are not in the default workspace locations, also set:
CLEARON_LEGISLATION_REGISTRY_PATHCLEARON_LEGISLATION_WATCHLIST_PATH
Storage
By default, monitor state is stored outside the repository in a user data directory:
macOS:
~/Library/Application Support/clearon-legislation-monitor-mcp/legislation-monitorLinux:
${XDG_DATA_HOME:-~/.local/share}/clearon-legislation-monitor-mcp/legislation-monitorWindows:
%APPDATA%\\clearon-legislation-monitor-mcp\\legislation-monitor
Override that location with CLEARON_LEGISLATION_MONITOR_ROOT.
The canonical tracker inputs are still expected to come from your chosen workspace:
trackers/state-legislation/jurisdictions.jsontrackers/state-legislation/watchlist.csv
unless you override them explicitly with environment variables.
Credentials
Optional provider keys can be supplied directly in the environment:
OPENSTATES_API_KEYNYC_LEGISTAR_TOKEN
The server also supports an optional local secrets file. By default it looks for:
macOS:
~/Library/Application Support/openclaw/local-secrets.jsonLinux:
${XDG_CONFIG_HOME:-~/.config}/openclaw/local-secrets.jsonWindows:
%APPDATA%\\openclaw\\local-secrets.json
Override that path with OPENCLAW_LOCAL_SECRETS.
Install or rotate stored credentials through protected stdin so values stay out of shell history:
node bin/install-credentials.mjs < /path/to/private-credentials.json
npm run credentialsSupported JSON keys:
{
"openstatesApiKey": "provider-issued value",
"nycLegistarToken": "provider-issued value"
}Recommended workflow
Call
list_jurisdictionsto choose the official route.Use
scan_official_source,search_openstates_bills, orsearch_nyc_legistar_mattersto gather leads.Record plausible official-source measures with
record_discovery_candidate.Review each candidate and call
review_candidatewithacceptorreject.Record official observations with
record_measure_observation.Use
get_due_reviewsandget_exceptionsfor scheduled follow-up.
Tools
get_server_healthlist_jurisdictionsscan_official_sourcesearch_openstates_billssearch_nyc_legistar_mattersrecord_discovery_candidatelist_discovery_candidatesreview_candidateimport_normalized_watchlistlist_watchlistrecord_measure_observationdedupe_watchlist_measuresrecord_exceptionresolve_exceptionget_due_reviewsget_exceptionsverify_event_log
Development
npm test
npm run smoke
npm run syntaxLatest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kwgoodwin/clearon-legislation-monitor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server