Lawstronaut MCP server
com.lawstronaut · Updated
Connect AI to millions of laws and court cases with the Lawstronaut MCP.
At a glance
Lawstronaut is an MCP server in the Legal & Government category. It is hosted remotely and connects over HTTP, and declares no required credentials. It exposes 16 tools, including list_jurisdictions, list_domains and list_subdomains. It scores B (74/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install Lawstronaut in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install Lawstronaut in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add --transport http lawstronaut-mcp https://mcp.lawstronaut.comVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes (e.g. list_jurisdictions, list_domains, list_subdomains). It discovers them automatically.
How to install Lawstronaut in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "lawstronaut-mcp": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.lawstronaut.com" ] } } }Why the wrapper?
This is a remote (HTTP) server and Claude Desktop only launches local processes, so mcp-remote proxies the connection. It will open a browser window if the server needs OAuth.
Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install Lawstronaut in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "lawstronaut-mcp": { "url": "https://mcp.lawstronaut.com" } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install Lawstronaut in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.lawstronaut-mcp] command = "npx" args = ["-y", "mcp-remote", "https://mcp.lawstronaut.com"]Why the wrapper?
Codex runs MCP servers as local processes, so mcp-remote bridges this HTTP endpoint to stdio.
Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install Lawstronaut in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "lawstronaut-mcp": { "serverUrl": "https://mcp.lawstronaut.com" } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install Lawstronaut in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "lawstronaut-mcp": { "type": "streamableHttp", "url": "https://mcp.lawstronaut.com" } } }
How to install Lawstronaut in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "lawstronaut-mcp": { "type": "http", "url": "https://mcp.lawstronaut.com" } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What tools does Lawstronaut expose? (16)
Read from the live server. Click any tool for its input schema.
- list_jurisdictionsList all jurisdictions (countries/states) available in the Lawstronaut legal corpus. Call this FIRST when answering legal questions so you know which "iso" codes are valid for the other tools. Result is cached for the MCP process lifetime Returns: {data: [{"name": "Belgium", "iso": "BE", "type": "country"}, ...]} - Full list of jurisdiction objects including names, iso, and type
- list_domainsRetrieves a list of domains for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal domains for a specific jurisdiction and optional filters - The user asks about available domains for a domain name - The user wants to filter with pagination Parameters: - domain (optional): Filter domains by name - limit: z.number().optional().describe("Number of result
- list_subdomainsRetrieves a list of subdomains for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal subdomains for a specific jurisdiction and optional filters - The user asks about available subdomains for a domain id - The user wants to filter subdomains by name with pagination Parameters: - domain_id (required): Filter by Domain ID. - subdomain (optional): Filter
- list_categoriesRetrieves a list of categories for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal categories for a specific jurisdiction and optional filters - The user asks about available categories for a subdomain id - The user wants to filter categories by name with pagination Parameters: - subdomain_id (optional): Filter by Subdomain ID. - category_name (opti
- list_subcategoriesRetrieves a list of subcategories for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal subcategories for a specific jurisdiction and optional filters - The user asks about available subcategories for a category id - The user wants to filter subcategories by name with pagination Parameters: - category_id (required): Filter by Category ID. - subcategor
- list_law_typesRetrieves a list of law types for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal law types for a specific jurisdiction and optional filters - The user asks about available law types for a subcategory id - The user wants to filter law types by name with pagination Parameters: - subcategory_id (required): Filter by Subcategory ID. - law_type (optiona
- list_portalsRetrieves a list of legal portals filtered by jurisdiction and optional criteria. Use this tool when: - The user wants to find legal portals, websites, or resources for a specific jurisdiction - The user asks about available portals in a country or state - The user wants to filter portals by name, language, or tag with total crawled links Parameters: - iso (required): Filter by Jurisdiction ISO co
- list_authority_typesRetrieves a list of authority types. Use this tool when: - The user wants to find legal authority types for a specific jurisdiction and optional filters - The user asks about available authority types for a portal name, authority type - The user wants to filter with pagination Parameters: - iso (required): Filter by Jurisdiction ISO code (e.g. "US"). - limit (optional): Number of results to return
- list_issuing_authoritiesRetrieves a list of issuing authorities for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal issuing authorities for a specific jurisdiction and optional filters - The user asks about available issuing authorities for a portal name, issuing authority - The user wants to filter with pagination Parameters: - iso (required): Filter by Jurisdiction ISO c
- list_documentsList documents in a jurisdiction with structured filters and pagination. Use this tool when: - The user wants to find legal content for a specific jurisdiction and optional filters - The user asks about available content for a portal name, title, section_title, url, status, repealed, publication_date and crawling_date - The user wants to filter content for type of authority, issuing authority, sou
- get_document_textRetrieves full text for a specific jurisdiction and optional filters. Use this tool when: - The user asks about available full text for a portal name, title, section_title, url, status, repealed, publication_date and crawling_date - The user wants to filter full text for type of authority, issuing authority, source identifier, source secondary identifier, tag Parameters: - iso (required): Jurisdic
- get_markdownRetrieves markdown for a specific jurisdiction and optional filters. Use this tool when: - The user asks about available markdown for a portal name, title, section_title, url, status, repealed, publication_date and crawling_date - The user wants to filter markdown for type of authority, issuing authority, source identifier, source secondary identifier, tag Parameters: - iso (required): Jurisdictio
- get_source_urlGet a time-limited signed URL to the original source file (PDF etc.). Use this tool when: - The user wants to find a pdf URL for a specific document - The user asks about presigned URL for a pdf Parameters: - document_id (required): Document ID. Returns: - PDF URL for a specific document with document_id and pdf_url
- get_document_with_versionRetrieves a specific document with a specific version. Use this tool when: - The user wants to find a specific document with a specific version - The user asks about available a specific document with a specific version Parameters: - document_id (required): Document ID. - version (required): Version. Returns: - Content with version with title, section_title, publication_date, effective_date, expir
- horizon_scanScans recent legal documents across jurisdictions. Use this when the user asks: - "What laws changed recently in Netherland?" - "Show me new regulations from last week" - "Any updates in NL law?"
- evidence_pull"Show me the source." For a specific document, return the full citation chain in one call: metadata (with all dates and identifiers), permanent legal_link, signed URL to the original source file (if available), and the full document body in markdown or plain text. Designed for auditability.
What the code can do
This is a remote server — nothing is installed or run on your machine, so there is no local code to analyze. What it can reach is described above: your requests go to the provider's host.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Third-party hosted service — Your requests and any data in them are sent to mcp.lawstronaut.com.
- No local execution — Nothing is installed or run on your machine.
- Last commit 1 month ago — Actively maintained.
- 2 GitHub stars — Very little community usage so far.
Client compatibility
Health score
B · 74Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%96%
Last commit 55 days ago.
- Adoption20%14%
2 stars.
- Transparency20%100%
4/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✓ discoverable tool list.
- Provenance15%75%
Links to its own repository; package linkage unverified.
- Packaging15%75%
Remote endpoint; authentication requirements not declared.
Documentation
Full READMELawstronaut MCP
Connect lawstronaut to Claude, ChatGPT, Cursor, and any AI agent that speaks the Model Context Protocol. Connect your AI to 50+ million laws and court cases!
Authentication . Setup · Tools
What is this?
Lawstronaut is the infrastructure layer that connects AI agents and software to millions of legal documents across 150+ jurisdictions, structured legal data, continuously updated, and ready to use via MCP.
Authentication
Production MCP server: `https://mcp.lawstronaut.com`
Transport: MCP over Streamable HTTP (POST /).
Public server card (tool listing, no auth): https://mcp.lawstronaut.com/.well-known/mcp/server-card.json
Lawstronaut MCP supports Bearer token and OAuth 2.0 (client_id + client_secret). A paid subscription is required.
| Method | Best for | Tool listing | Tool calls | |--------|----------|--------------|------------| | Bearer token | CLI, scripts, clients without OAuth | No auth required | Authorization: Bearer <token> | | OAuth 2.0 | Cursor, VS Code, Claude, publishing platforms | No auth required | OAuth access token (auto-managed by client) |
Get client ID, secret, or bearer token
Excerpt — the full document is on GitHub.
Alternatives to Lawstronaut
- AMIRA — Africa Multiple Research DataB · 71Read-only access to AMIRA, the Africa Multiple research-data platform on Omeka S.
- TexasRatedPros RankingsB · 71Texas service-company rankings, profiles, comparisons, score breakdowns, and methodology.
- OllavB · 76Share HTML prototypes as live links; read element-pinned review comments; publish new versions.
- LLMtoMDB · 73Convert PDFs, Office docs, websites and audio into AI-ready Markdown, then search and ask your docs.
Maintain Lawstronaut? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/com-lawstronaut-lawstronaut-mcp)Catalog data refreshed . Something wrong? Report it.