Skip to main content
MCP server CX Codex

Lawstronaut — Claude Code MCP server: laws and court cases

Wires an AI agent into a corpus of laws and court cases over MCP. A paid subscription plus a token or OAuth pair is required.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http lawstronaut-mcp https://mcp.lawstronaut.com
Open on GitHub

What Lawstronaut does

Lawstronaut runs an MCP server at https://mcp.lawstronaut.com, giving agents access to legal documents from 150+ jurisdictions. It speaks MCP over Streamable HTTP, so calls go out as POST /. The tool listing is public — read it at https://mcp.lawstronaut.com/.well-known/mcp/server-card.json without authenticating.

Two auth paths exist: a bearer token, or OAuth 2.0 with client_id and client_secret. Both come from the developer portal once a subscription is bought. Tool calls fail without an active subscription, and the bearer token belongs in the LAWSTRONAUT_MCP_BEARER_TOKEN environment variable.

The tools are lookup-oriented. list_jurisdictions returns countries and states, while list_domains, list_subdomains and list_categories break the corpus down by domain, subdomain and category, with name filters and pagination. Call list_jurisdictions first: the other tools expect ISO codes from it. Clients that handle MCP OAuth discovery need only the server URL; everyone else passes the bearer token in a header.

What it helps with

  • pull current statutes for one jurisdiction
  • fetch ISO codes for countries and states
  • map a legal question onto domains and subdomains
  • filter legal categories by name
  • bring court cases into an agent answer

Example prompts for the agent

  • List the jurisdictions available in Lawstronaut
  • Find legal domains with tax in the name
  • Show the subdomains and categories under that domain

How to install Lawstronaut

Platform CLI: remote server

claude mcp add --transport http lawstronaut-mcp https://mcp.lawstronaut.com

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Lawstronaut

How do I install Lawstronaut in Claude Code?

Run claude mcp add --transport http lawstronaut-mcp https://mcp.lawstronaut.com, then finish the OAuth sign-in in your browser the first time the agent calls a tool.

What does Lawstronaut do?

It gives an AI agent MCP access to laws and court cases across 150+ jurisdictions, exposing jurisdictions, domains, subdomains and categories as tools.

Do I need a subscription to use the server?

Yes — tool calls require a paid subscription. Create the bearer token or the client_id and client_secret pair in the developer portal after purchasing.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor