Skip to main content
Glama

LexAtlas MCP

LexAtlas is current law as data for AI: statutes and codes as structured, versioned articles with smart search, daily updates and access via API and MCP. Citations an AI assistant cannot find in the base are flagged. We are on the way to full coverage of the world's law, starting with the CIS countries.

The LexAtlas service and data are not open source; this repository contains connection docs and examples only.

Server address

https://api.lexatlas.creatora.app/mcp

Remote MCP server, Streamable HTTP. Sign-in is OAuth 2.1 with discovery, dynamic client registration and PKCE (S256). Any MCP client that supports OAuth 2.1 can connect the same way. Full step-by-step page: https://lexatlas.creatora.app/connect.

Related MCP server: Legalize

Connect

Give your AI client the one address above and sign in once: your client opens the LexAtlas sign-in page in the browser, you enter your email and the code we send you, review what the client asks for and approve it. Then the LexAtlas tools appear in the client.

Claude (web and desktop)

  1. Open Customize -> Connectors and choose Add custom connector.

  2. Enter a name and paste the address above.

  3. Press Add, then sign in to LexAtlas when asked.

Guide: https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp

Claude Code

claude mcp add --transport http lexatlas https://api.lexatlas.creatora.app/mcp

Then open the /mcp menu inside Claude Code and sign in to LexAtlas. Docs: https://code.claude.com/docs/en/mcp

ChatGPT

Turn on developer mode and create an app for a remote MCP server, paste the address above, choose OAuth as the authentication and sign in to LexAtlas when asked. Menu names change often; follow OpenAI's guide: https://developers.openai.com/api/docs/guides/developer-mode

Cursor

Add the block below to mcp.json (project .cursor/mcp.json or the global file); Cursor shows the server as needing sign-in, follow the link to LexAtlas in your browser. Docs: https://cursor.com/docs/context/mcp

{
  "mcpServers": {
    "lexatlas": {
      "url": "https://api.lexatlas.creatora.app/mcp"
    }
  }
}

The same block is in examples/mcp-config-url.json.

Gemini CLI

Add the block below to settings.json (user or project); Gemini CLI starts the OAuth sign-in in your browser when the server asks for it. Docs: https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md

{
  "mcpServers": {
    "lexatlas": {
      "httpUrl": "https://api.lexatlas.creatora.app/mcp"
    }
  }
}

Cline

In the Cline panel open MCP Servers → Configure and add the block below. Cline 4.1 and later reads the file ~/.cline/data/settings/cline_mcp_settings.json; a copy in the old VS Code globalStorage path is ignored. Create the key in your account under API keys: https://lexatlas.creatora.app/account/. Docs: https://docs.cline.bot/mcp/configuring-mcp-servers

{
  "mcpServers": {
    "lexatlas": {
      "type": "streamableHttp",
      "url": "https://api.lexatlas.creatora.app/mcp",
      "headers": {
        "X-API-Key": "lxa_..."
      },
      "disabled": false
    }
  }
}

The same block is in examples/cline-config.json. Step-by-step setup for an AI agent: llms-install.md.

With an API key instead

For a client without OAuth support, send a key in a header on every request to the same address:

X-API-Key: lxa_...

Authorization: Bearer lxa_... works as well. Create keys in your account under API keys: https://lexatlas.creatora.app/account/. An HTTP API example is in examples/api-curl.sh.

Tools

Per-tool pages: https://lexatlas.creatora.app/docs/mcp/<tool>.html

Tool

What it answers

Docs

lexatlas_verify

Is the article real, in force or repealed, and how fresh is our copy.

docs

lexatlas_get

Full text with the act, status and provenance, or as it stood on a chosen date.

docs

lexatlas_history

When the article was changed and by which law, from the first version onwards.

docs

lexatlas_search

Provisions across jurisdictions, found by wording or by the situation described.

docs

lexatlas_changes

Everything amended since a date you name, for monitoring, not re-reading.

docs

lexatlas_citecheck

Every legal reference in a draft checked at once, so invented citations surface.

docs

lexatlas_pipeline

Draft laws by stage: introduced, read, signed, published.

docs

lexatlas_calendar

Provisions coming into force in the weeks ahead, with dates.

docs

lexatlas_related

What an article relies on and what relies on it, with the meaning of each link.

docs

Pricing

Each tool call counts as a request against your free monthly allowance and then your balance. Details: https://lexatlas.creatora.app/pricing

License

MIT, for this documentation and the examples only. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides access to 529,000+ US statute sections across all 50 states and federal codes for comprehensive legal research. Supports semantic search, citation graph traversal, jurisdictional comparisons, and regulatory risk analysis through natural language queries.
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to search and read consolidated legislation from multiple countries, retrieve exact law texts as of any historical date with citations and git commit SHAs, and create webhook or email subscriptions to track legal changes.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to pull the full text of any state statute by citation, and to search official section catchlines by topic or keyword to find matching citations. Keyless, and handles citation suffixes such as "12.1-16-01" or "47-16-13.1".
      175 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to retrieve the full current text of any state statute section by citation, along with its amendment history, repealed/transferred status, neighboring sections, and any pending future-effective version. It also performs live full-text keyword search across actual section body text to find statutes by topic.
      50 npm
      MIT