# Lawstronaut MCP server

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.

## Install

### How to install Lawstronaut in Claude Code

1. Add the server

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

2. Verify it's connected

```bash
claude mcp list
```

3. Sharing 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).

4. 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 Desktop

1. Open your MCP config

   macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json

2. Add this server

```json
{
  "mcpServers": {
    "lawstronaut-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.lawstronaut.com"
      ]
    }
  }
}
```

3. 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.

4. Restart Claude Desktop

   The tools appear under the 🔌 menu once the app reloads.

### How to install Lawstronaut in Cursor

1. Create / edit .cursor/mcp.json in your project

```json
{
  "mcpServers": {
    "lawstronaut-mcp": {
      "url": "https://mcp.lawstronaut.com"
    }
  }
}
```

2. Enable it

   Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.

### How to install Lawstronaut in Codex CLI

1. Add to ~/.codex/config.toml

```toml
[mcp_servers.lawstronaut-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.lawstronaut.com"]
```

2. Why the wrapper?

   Codex runs MCP servers as local processes, so mcp-remote bridges this HTTP endpoint to stdio.

3. Run Codex

   Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.

### How to install Lawstronaut in Windsurf

1. Edit ~/.codeium/windsurf/mcp_config.json

```json
{
  "mcpServers": {
    "lawstronaut-mcp": {
      "serverUrl": "https://mcp.lawstronaut.com"
    }
  }
}
```

2. Reload

   Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.

### How to install Lawstronaut in Cline

1. Open Cline → MCP Servers → Configure

   Adds to cline_mcp_settings.json.

2. Add the server

```json
{
  "mcpServers": {
    "lawstronaut-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.lawstronaut.com"
    }
  }
}
```

### How to install Lawstronaut in VS Code

1. Create .vscode/mcp.json

```json
{
  "servers": {
    "lawstronaut-mcp": {
      "type": "http",
      "url": "https://mcp.lawstronaut.com"
    }
  }
}
```

2. Start it

   VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.

## Tools

- `list_jurisdictions` — List 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_domains` — Retrieves 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_subdomains` — Retrieves 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_categories` — Retrieves 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_subcategories` — Retrieves 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_types` — Retrieves 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_portals` — Retrieves 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_types` — Retrieves 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_authorities` — Retrieves 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_documents` — List 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_text` — Retrieves 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_markdown` — Retrieves 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_url` — Get 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_version` — Retrieves 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_scan` — Scans 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.

Source repository: https://github.com/Lawstronaut-FZCO/lawstronaut-mcp

---

Source: https://mcp-skills-hub.vercel.app/mcps/com-lawstronaut-lawstronaut-mcp · MCP Skills Hub · data as of 2026-10-28T12:31:05Z
