# Lawstronaut

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 2
- Author: Lawstronaut-FZCO
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Lawstronaut-FZCO/lawstronaut-mcp
- Updated: 2026-09-04
- HTML: https://affpapa.org/en/nevibecode/mcp/lawstronaut

## What it 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.

## Requirements
- Remote server: `https://mcp.lawstronaut.com`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http lawstronaut-mcp https://mcp.lawstronaut.com
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add lawstronaut --url https://mcp.lawstronaut.com
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "lawstronaut": {
            "url": "https://mcp.lawstronaut.com"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "lawstronaut": {
            "type": "http",
            "url": "https://mcp.lawstronaut.com"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http lawstronaut https://mcp.lawstronaut.com
```

## When to use it
- 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
- List the jurisdictions available in Lawstronaut
- Find legal domains with tax in the name
- Show the subdomains and categories under that domain

## Similar
- [RegAI Legal MCP (Taiwan)](https://affpapa.org/en/nevibecode/mcp/regai-legal-mcp-taiwan.md) — MCP server · ★ 1
- [tw-legal-rag](https://affpapa.org/en/nevibecode/mcp/tw-legal-rag.md) — MCP server · ★ 335
- [LibreJustice](https://affpapa.org/en/nevibecode/mcp/librejustice.md) — MCP server · ★ 30
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49863
- [Jitsu](https://affpapa.org/en/nevibecode/mcp/jitsu.md) — MCP server · ★ 5118
- [Expense Budget Tracker](https://affpapa.org/en/nevibecode/mcp/expense-budget-tracker.md) — MCP server · ★ 37

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
