Documentation
LexLint is an MCP server at https://mcp.lexlint.org/mcp.
Every tool requires an UnGovr API key, passed as an X-API-Key header.
Mint one free at https://www.ungovr.org/open-data/api-keys
LexLint stores nothing: your key is passed through to the UnGovr Open Data API on every call, and the upstream free tier (currently 50 requests per day) is the only meter. Rate-limit and authentication errors come back from upstream unchanged.
The lint. Declare what the app does and where it runs; get findings back.
| Argument | Type | Meaning |
|---|---|---|
activities | string[] | What the app does. Allowed values: crawls_web, trains_models, generates_content, deploys_chatbot, processes_voice, processes_biometrics, automated_outreach, high_risk_decisions |
jurisdictions | string[] | Jurisdiction slugs, lowercase: us, us/ca, eu, de, kr, and so on |
Each finding carries severity, jurisdiction, summary,
citation, as_of_date, stale, and confidence.
Unknown argument names and unknown activity values are refused with an error rather than
silently ignored, so a typo cannot produce a falsely clean run.
One jurisdiction's AI-law entries. Argument: jurisdiction (slug).
The scraping and access legality summary for a jurisdiction: verdict-level crawl policy,
a per-scenario access matrix, robots.txt legal weight, and TDM opt-out status.
Argument: jurisdiction (slug). Resolution walks to the most specific
jurisdiction with data and reports the walk.
Maps a hostname or URL to the jurisdiction whose law governs its operator, for feeding
into the other tools. Argument: domain. IP addresses are refused: a server's
location is not the legal signal, the operator's establishment is.
| Severity | Meaning |
|---|---|
| ERROR | The declared activity appears prohibited or presumptively unlawful in that jurisdiction. Stop and get counsel. |
| WARN | An obligation applies to your declared profile, or LexLint lacks current data for a jurisdiction you declared. Either way: go look. |
| INFO | A disclosure, labeling, or registration duty worth knowing about, typically with a phase-in date. |
Three rules keep the output honest. A jurisdiction LexLint has no current data for is a
WARN, never a silent pass. Every finding carries its as-of
date and a staleness flag, because laws change faster than corpora. And the passing state
is no basic issues found: the word "compliant" does not appear in LexLint
output, because a lint cannot know that.