# Legal AI for ChatGPT
> Source: https://legalcode.md/integrations/chatgpt | [HTML version](https://legalcode.md/integrations/chatgpt)

Use Legalcode with ChatGPT to access global law, case law, and regulatory guidance through MCP integration.

**For:** Legal professionals and teams using ChatGPT for legal work

## Setup

`npx legalcode init`

1. **Run the install command** -- Execute the command in your terminal.
2. **Select ChatGPT** -- Choose ChatGPT when prompted in the interactive selector.
3. **Paste MCP endpoint** -- Paste the generated MCP endpoint into your ChatGPT connector config.

## Capabilities

- Search law and case law across 24 jurisdictions
- Access 318+ custom-built legal skills
- Cross-reference legal citations
- Regulatory guidance from SEC, EBA, EDPB, and more
- Zero data retention

## Security

- Your documents never leave your machine
- No search query logging
- OAuth 2.0 authentication
- TLS 1.3 encryption

## FAQ

### Does this require ChatGPT Plus?

MCP integration requires ChatGPT developer mode, which is available with ChatGPT Plus or Team plans.

### What legal data can I access?

Laws, case law, and regulatory guidance from 24 jurisdictions including EU, UK, US, France, Germany, Switzerland, and more.

### Is my data safe?

Yes. Legalcode serves law to your agent — your documents never touch our servers. Zero retention on all search queries.

---
*Legalcode -- legalcode.md*
