Clearon Legislation Monitor MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Clearon Legislation Monitor MCP List discovery candidates for New York that are still awaiting review."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Clearon AI Legal Watch MCP
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 syntaxAvailable Tools
17 toolsdedupe_watchlist_measuresA
Remove duplicate watchlist rows while preserving append-only audit history and migrating any stored observations to the survivor measure.
Inputs: note (required), survivor_measure_id (required), duplicate_measure_ids (required), expected_revision.
get_due_reviewsC
List active measures whose next-review date is due.
Inputs: as_of.
get_exceptionsB
List consolidated exceptions, optionally since an ISO datetime.
Inputs: since.
get_server_healthB
Report monitor state and safety boundaries.
Inputs: no named parameters.
import_normalized_watchlistC
Idempotently seed the MCP from the workspace normalized watchlist CSV.
Inputs: expected_revision.
list_discovery_candidatesB
List candidates by review status.
Inputs: review_status.
list_jurisdictionsC
List official source routes for all states and supported local jurisdictions.
Inputs: code.
list_watchlistC
List all or active monitored measures.
Inputs: active_only, jurisdiction_code.
record_discovery_candidateA
Record a deduplicated candidate with an official measure URL for human review; does not add it to the watchlist.
Inputs: title (required), session (required), bill_type (required), bill_number (required), +11 more.
record_exceptionA
Record a retrieval, parsing, migration, or verification exception without treating it as a legal-status change.
Inputs: type (required), message (required), measure_id, source_url, +4 more.
record_measure_observationB
Record an official-source observation, compute material field changes, and update the watch snapshot. Does not publish.
Inputs: current (required), measure_id (required), note, checked_at, +3 more.
resolve_exceptionA
Mark a previously recorded exception as resolved after a successful re-check or remediation.
Inputs: exception_id (required), resolution_note (required), resolved_at, expected_revision.
review_candidateA
Explicitly accept or reject a candidate. Acceptance requires a normalized watch entry and is the only candidate-to-watchlist path.
Inputs: note (required), decision (required), reviewed_by (required), candidate_id (required), +2 more.
scan_official_sourceB
Retrieve one explicit public official-source URL and return keyword matches and candidate links. Results are leads, not verification.
Inputs: url (required), terms, timeout_ms.
search_nyc_legistar_mattersB
Search the official NYC Legistar matters API for discovery leads. Results must still be verified against the official matter page or enacted local law before watchlist acceptance.
Inputs: q, top, body, limit, +6 more.
search_openstates_billsA
Search Open States v3 for discovery leads. Results never count as final verification and must be pivoted back to official sources before watchlist acceptance.
Inputs: q, page, sort, chamber, +11 more.
verify_event_logA
Replay the append-only event log and compare it with the stored snapshot.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool is scoped to a distinct workflow stage or data type: discovery candidates, watchlist measures, exceptions, health, and audit. Search tools are source-specific, and state/verification boundaries are clearly described, so an agent should rarely select the wrong tool.
All tool names are snake_case verb_noun and generally predictable. Minor inconsistency exists between list_* and get_* for similar collection-style operations, but the pattern is still coherent and readable.
Seventeen tools is on the heavier side, but the count is justified by the broad legislation-monitoring workflow: discovery, candidate review, watchlist management, observations, exceptions, and audit. The scope feels intentional rather than padded.
The server covers the major lifecycle stages from discovery through watchlist observation and exception handling, with strong audit support. Minor gaps exist, such as no explicit watchlist removal/deactivation tool and no publish step despite observations being non-publishing.
Maintenance
Related MCP Connectors
Append-only decisions with provenance, supersession, retrieval, and audited MCP actions.
Governance runtime for compliance: verified, human-approved writes to a tamper-evident record.
Bills, hearings, votes and legislators for all 50 US states, DC and Congress, from official sources.
Official EUR-Lex, UK, US, and gazette search, metadata fetch, and change-only watches.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables append-only maintenance of a legal developments tracker stored as CSV, with duplicate checks, dry-run proposals, fingerprint-safe appends, digest views, and transparent candidate scoring.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables review-gated, local-first monitoring of AI legislation, regulations, litigation, sanctions, court rules, and ethics guidance by collecting and verifying leads from official sources, managing human review workflows, and generating digests and exports.MIT
- AlicenseNot gradedqualityBmaintenanceEnables traceable research workflows by searching uploaded sources, verifying citations, routing uncertain or high-risk requests to human review, and streaming answers with an audit trail.MIT
- AlicenseNot gradedqualityCmaintenanceEnables judicial AI workflows to add a traceable human-oversight layer that assesses material impact, verifies legal sources, manages incidents, and preserves integrity evidence before closing resolutions.MIT