Skip to content

LexLint: compliance lint for AI, scraping, and privacy law

by lexlint.org · remote · no sign-in to list tools · v1.0.0 · published by org.lexlint

Compliance lint for AI, scraping, and privacy law. Cited findings in 200 or more jurisdictions.

Final · 1Changes · 5

8 tools: 1 do something that can't be undone, 5 change things and 2 only read.

Scanned Oct 21, 2026

3 checks matched something in the tool definitions. No finding is not a safety guarantee. How the checks work.

claude mcp add --transport http lexlint https://mcp.lexlint.org/mcp --header 'X-API-Key: <your-x-api-key>'

Findings

Matches of fixed checks, with the text they matched.

2 warn1 info
  • The server marks "set_profile" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

    Matched text

    annotations: {"readOnlyHint":true,"openWorldHint":false}; The name "set_profile" says "set": a word for a change.

    What this check looks for
  • The server marks "run_lint" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

    Matched text

    annotations: {"readOnlyHint":true,"openWorldHint":false}; The name "run_lint" says "run": a word for a change.

    What this check looks for
  • The description is 3,461 characters long, over the 2,000 this check looks for.

    Matched text

    description ends: "...ey (metered per request; get one at https://ungovr.org/cli-login?client=lexlint)."

    What this check looks for

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

8 tools

Can't be undone 1Claude Code: ask
  • submit_feedbackSend the developer's feedback on LexLint to the people who build it, recorded against their UnGovr account so we can write back.No findings

    Why it is in this group

    • The name "submit_feedback" says "submit": a word for a change.
    • The description's first verb is "send": a word for sending, and what is sent cannot be taken back.
    Description, as the server wrote it
    Send the developer's feedback on LexLint to the people who build it, recorded against their UnGovr account so we can write back. Run this ONLY on the developer's explicit yes. It may be raised unprompted in exactly one place, the close of a lint run whose upload approval was declined; never volunteer it anywhere else, and never run it in a headless or CI session where nobody can approve anything. Draft the usage summary from what you actually did this session, print the exact payload, and send only what they have explicitly approved, unchanged. Never read the session transcript to build it: a key pasted into a session is recorded there, and a summary built from one would carry the developer's own key to us. One submission per session. This tool needs sign-in or an UnGovr Open Data key.

    Annotations the server declares

    • readOnlyHint: false
    • destructiveHint: false
    • idempotentHint: false
    • openWorldHint: false
Changes things 5Claude Code: ask
  • check_accessPreflight.No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    • The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
    Description, as the server wrote it
    Preflight. Reports whether an UnGovr Open Data key reached LexLint, whether it is valid, how much of today's free allowance is left and when it resets, how current the law library is, and whether the LexLint plugin you are running is the latest published one. Call this first: a missing key otherwise surfaces several steps later as a rejected tool call. Costs one upstream request, always: the optional jurisdictions preview below rides this same request rather than spending a second one. It also returns tested_model_families, the model families LexLint's procedure is exercised against, and model_notice, an advisory for the developer. Nothing about your model is sent here and no argument carries one.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: false
  • claim_trial_keyMints a 30-day UnGovr Open Data trial key with no account, no sign-in and no email, good for 50 requests and 10 distinct jurisdictions over its whole life, and returns it in this r…No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    Description, as the server wrote it
    Mints a 30-day UnGovr Open Data trial key with no account, no sign-in and no email, good for 50 requests and 10 distinct jurisdictions over its whole life, and returns it in this result. Run it ONLY after the developer chose the no-account route over signing in at https://ungovr.org/cli-login?client=lexlint; check_access reports both routes in setup.steps and the developer picks. Not idempotent: every call that succeeds mints another key and spends one of the five this address may take per day. Refuses when the session already holds a key or a sign-in. The key arrives in this session's transcript; say so before running it. Persist the result as UNGOVR_API_KEY and start a new session.

    Annotations the server declares

    • readOnlyHint: false
    • destructiveHint: false
    • idempotentHint: false
    • openWorldHint: false
  • run_lintStep 2 of the lint, and the one that returns findings.2 findings

    Why it is in this group

    • The name "run_lint" says "run": a word for a change.
    • The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.

    Findings

    • Info

      The description is 3,461 characters long, over the 2,000 this check looks for.

      Matched text

      description ends: "...ey (metered per request; get one at https://ungovr.org/cli-login?client=lexlint)."

      What this check looks for
    • Warn

      The server marks "run_lint" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

      Matched text

      annotations: {"readOnlyHint":true,"openWorldHint":false}; The name "run_lint" says "run": a word for a change.

      What this check looks for
    Description, as the server wrote it
    Step 2 of the lint, and the one that returns findings. Pass the activities and jurisdictions set_profile validated, and get lint-style findings: which obligations apply, with severity (warn/info), citation, as_of_date, staleness, and confidence. warn: a live obligation binds the profile (obligation), a posture finding needs attention (posture), or LexLint lacks current data for a declared jurisdiction (coverage). info: context rather than a live duty, and kind says which it is: an instrument LexLint cannot say is in force today (pending), a jurisdiction-wide statement of how the local law treats crawling as a whole, binding nobody on its own (posture), a note about what was not reported (coverage), a duty your customer, a public body or a financial institution, owes and meets through your software (customer_duty, with public_sector or regulated_sector declared; triage it in the product lane), or an instrument whose owed is not yours (obligation). LexLint never reports error: a lint cannot be sure something is prohibited, so it will not say so. Every instrument finding also carries certainty.resultset, which is the axis to present on and is NOT the same cut as kind: present is law as it stands today, including an instrument blocked by a court, whose enforcement is paused (a live risk held in abeyance, never hypothetical); forward is law that may be coming; historical is a spent instrument that is neither. NOTHING IN forward MAY GATE: it is informational, it must never reach an exit code, fail a build, or block a merge, and a bill in committee changing your build colour is a misuse of this tool. Within forward, certainty.rung orders by how much is PINNED to primary text and never by a probability, with rung 1 (enacted, commencement dated) predicting nothing at all; certainty.rung is null where the law library holds no stage to rank by, which is not the same as the lowest rung. If you suppress any part of forward from what you show a user, say so in your output: a run that drops rows and then reports "no basic issues found" is a silent pass. Each instrument finding also carries in_force, whose `words` is what to print wherever you say when a law binds. Obligations are matched from AI, scraping, privacy, cybersecurity, communications, content-moderation, product-liability, age-gating and reuse law; that is every topic the law library carries, so a declaration can raise findings from any of them and no topic is served by get_law alone any more. A finding whose instrument has a LexLint page carries note_url; show the citation as a link to it, and never construct that URL yourself. A jurisdiction LexLint has no current data for is a WARNING, never a silent pass, and the passing state is "no basic issues found", never "compliant". This is a lint for catching basic issues early, NOT legal advice and NOT a compliance certification. Costs three upstream requests for any number of declared jurisdictions: it reads the whole published law library and filters to your declaration in memory, rather than one request per jurisdiction. A trial key lints at most 10 distinct jurisdictions over its whole life; a declaration past that is refused before anything is spent. A repeat lint against a law library that has not moved since an earlier one can cost fewer, served from this key's own cache. This tool needs sign-in or an UnGovr Open Data key (metered per request; get one at https://ungovr.org/cli-login?client=lexlint).

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: false
  • set_profileStep 1 of the lint.1 finding

    Why it is in this group

    • The name "set_profile" says "set": a word for a change.
    • The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.

    Findings

    • Warn

      The server marks "set_profile" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

      Matched text

      annotations: {"readOnlyHint":true,"openWorldHint":false}; The name "set_profile" says "set": a word for a change.

      What this check looks for
    Description, as the server wrote it
    Step 1 of the lint. Declare what the app does (activities) and where it will operate (jurisdiction slugs); get back the validated, canonical profile plus what the law library holds for each jurisdiction, so the depth of a run is known before it is spent. Write the returned profile into the project's lexlint.yml and pass it to run_lint. Stores nothing server-side. An unknown activity or a malformed slug is refused here rather than silently weakening a lint later. Costs one upstream request for any number of jurisdictions. It answers the same coverage question check_access's own jurisdictions preview does, off a request check_access spends either way, so asking both is redundant, never costlier: they just repeat the same answer. This tool needs sign-in or an UnGovr Open Data key (metered per request; get one at https://ungovr.org/cli-login?client=lexlint).

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: false
  • upload_lint_runStore one lint run on the LexLint portal, against the UnGovr account that signed in or owns the key, and return the portal URL and, for a trial key, a share URL that opens the run …No findings

    Why it is in this group

    • The name "upload_lint_run" says "upload": a word for a change.
    Description, as the server wrote it
    Store one lint run on the LexLint portal, against the UnGovr account that signed in or owns the key, and return the portal URL and, for a trial key, a share URL that opens the run with no sign-in for 30 days. This is the closing step of every run that produced findings, raised unprompted in exactly one place, the close of that run, and never volunteered anywhere else. Before the call the developer is shown the payload, exactly what will leave the repository, and the approval they give to the call is the yes; a declined approval means nothing was sent. Where the client asks nothing before a call, the agent asks the developer once itself. Never run it in a headless or CI session where nobody can approve anything. TWO FORMS. Prefer the compact one: app_name, the activities and jurisdictions run_lint ran on, and that reply's corpus_built_at AND run_at; the server rebuilds the findings itself, judged at that same run_at and refused if the law library moved or the approval went stale, so what is stored is what the developer saw. Add work_items and vanished when they have triaged. The full `payload` form is for a client already holding a complete ungovr.lexlint-upload/1 record. Either way the stored run is the app name and profile, findings, work items and envelope, never the API key, source files, prompts, transcripts or git identity. Uploads are immutable; a changed run stores a new revision. This tool needs sign-in or an UnGovr Open Data key.

    Annotations the server declares

    • readOnlyHint: false
    • destructiveHint: false
    • idempotentHint: true
    • openWorldHint: false
Only reads 2Claude Code: allow
  • get_lawOne jurisdiction's law from the LexLint law library, across all nine topics LexLint covers: AI law, scraping/crawling and access legality, personal-data and biometric privacy, prod…No findings

    Why it is in this group

    • The name "get_law" says "get": a word for reading.
    Description, as the server wrote it
    One jurisdiction's law from the LexLint law library, across all nine topics LexLint covers: AI law, scraping/crawling and access legality, personal-data and biometric privacy, product-security and cyber-resilience law, communications law (marketing messages, calls and texts, call recording, cookie consent), content-moderation law (liability for what users post, notice-and-takedown, moderation transparency), product and AI liability law (who answers for harm a product, software or an AI system causes), age-gating and age verification, and reuse law (quotation and snippets, press-publisher rights, linking, news bargaining codes). Returns the instruments (citations, status, behavior categories, as_of_date) together with the jurisdiction-level crawl posture: verdict-level crawl policy, per-scenario access matrix, robots.txt legal weight, and TDM opt-out status. Resolution walks up to the nearest jurisdiction with data; when a parent answered, jurisdiction names the parent that was read and resolved_from names the slug that was asked for. ONE call answers an AI question, a scraping question, a privacy question, a cybersecurity question, a communications question, a content-moderation question, a product-liability question, an age-gating question and a reuse question: they are the same payload, so do not call this nine times for one jurisdiction. A trial key reads at most 10 distinct jurisdictions over its whole life, counted together with run_lint. Research summary, NOT legal advice and NOT authorization to access any system. It is open without an account up to 25 lookups a day, one call being one lookup; with sign-in or an UnGovr Open Data key it is metered per request instead.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: false
  • resolve_domain_jurisdictionBest-effort mapping from a domain to the jurisdiction whose law governs its OPERATOR, for feeding into the other tools.No findings

    Why it is in this group

    • The name "resolve_domain_jurisdiction" says "resolve": a word for reading.
    Description, as the server wrote it
    Best-effort mapping from a domain to the jurisdiction whose law governs its OPERATOR, for feeding into the other tools. Never uses server or edge-node location; IP addresses are refused. Costs one to four upstream requests, varying with how many domain-label candidates it tries before a match; a fall-back to top-level-domain inference costs nothing further. Not part of a lint's own five-request total (check_access, set_profile, run_lint): call this only to derive a jurisdiction from a domain rather than declaring one. It is open without an account up to 25 lookups a day, one call being one lookup; with sign-in or an UnGovr Open Data key it is metered per request instead.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: false

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 1.0.0. Values in angle brackets are yours to fill in.

claude mcp add --transport http lexlint https://mcp.lexlint.org/mcp --header 'X-API-Key: <your-x-api-key>'

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__lexlint__get_law",
      "mcp__lexlint__resolve_domain_jurisdiction"
    ],
    "ask": [
      "mcp__lexlint__set_profile",
      "mcp__lexlint__run_lint",
      "mcp__lexlint__check_access",
      "mcp__lexlint__claim_trial_key",
      "mcp__lexlint__submit_feedback",
      "mcp__lexlint__upload_lint_run"
    ],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as lexlint. Review it before you use it.