# Install and deploy Legalcode.
> Source: https://legalcode.md/docs | [HTML version](https://legalcode.md/docs)

Setup instructions and operational references for Legalcode MCP integration, presented in the same public system as the rest of the site.

## Quickstart by client

Choose your AI client and follow the matching install flow.

### Install Commands

#### TUI

`npx legalcode init`

1. Run the command in your terminal.
2. Pick your target client in the interactive selector.
3. Apply the generated MCP configuration and complete auth in browser when prompted.

#### ChatGPT

`npx legalcode init`

1. Run the command in your terminal.
2. Select ChatGPT when prompted.
3. Paste the generated MCP endpoint into your ChatGPT connector config.

#### Claude

`npx legalcode init --client claude`

1. Run the command and select Claude.
2. Sign in to legalcode.md when the browser opens.
3. Confirm the remote server URL and scopes in Claude.

#### Claude Code

`npx legalcode init --client claude-code`

1. Run the command and select Claude Code.
2. Open `/mcp` in Claude Code and add the generated remote URL.
3. Finish OAuth in your browser and verify tool access.

#### Codex

`npx legalcode init --client codex`

1. Run the command and pick Codex.
2. Apply the generated MCP configuration in your Codex environment.
3. Run a sample law lookup to confirm connectivity.


## Coverage summary

Legalcode coverage is synchronized from the ingestion index and reflects live jurisdiction and source availability.

- **Jurisdictions:** 22
- **Statutes:** 0
- **Case law:** 0
- **Guidance:** 0
- **Total elements:** 0

### Jurisdictions

| Country | Sources | Elements |
|---------|---------|----------|
| Iceland (IS) | 19 | 0 |
| United States (US) | 51 | 0 |
| United Kingdom (GB) | 9 | 0 |
| Norway (NO) | 11 | 0 |
| Denmark (DK) | 7 | 0 |
| Sweden (SE) | 13 | 0 |
| Finland (FI) | 6 | 0 |
| Germany (DE) | 4 | 0 |
| Italy (IT) | 3 | 0 |
| Spain (ES) | 2 | 0 |
| France (FR) | 4 | 0 |
| Belgium (BE) | 4 | 0 |
| Brazil (BR) | 4 | 0 |
| Switzerland (CH) | 2 | 0 |
| Netherlands (NL) | 3 | 0 |
| Portugal (PT) | 2 | 0 |
| Poland (PL) | 2 | 0 |
| Turkey (TR) | 2 | 0 |
| European and International | 16 | 0 |
| Canada (CA) | 4 | 0 |
| Mexico (MX) | 3 | 0 |
| Australia (AU) | 1 | 0 |

## Plans

The same Free and Pro packaging shown on the landing, with implementation detail.

### Free
$0 / month

- 100 searches/day
- 10 skill calls/day
- 5 jurisdictions
- Core legal sources
- Community support

### Pro
$29 / month, billed annually - or $39/month

- Unlimited searches
- Unlimited skill calls
- All jurisdictions
- Priority support
- Team plans available

---
*Legalcode -- legalcode.md*
