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

Connect Legalcode to Claude desktop for legal research, contract review, and compliance workflows powered by global legal data.

**For:** Legal professionals using Claude for daily legal work

## Setup

`npx legalcode init --client claude-desktop`

1. **Run the install command** -- Execute the command and select Claude when prompted.
2. **Sign in to Legalcode** -- The browser will open for authentication. Sign in to legalcode.md.
3. **Confirm in Claude** -- Confirm the remote server URL and scopes in Claude. Start using legal tools immediately.

## Capabilities

- Search law and case law across 24 jurisdictions
- Run 318+ legal skills directly in Claude conversations
- Cross-reference statutes and case law
- Access regulatory guidance from major agencies
- Zero data retention on all searches

## Security

- Your documents never leave your machine
- Zero search query logging
- OAuth 2.0 with automatic token rotation
- TLS 1.3 encrypted connections

## FAQ

### Does this work with Claude desktop and Claude.ai?

Yes. Legalcode connects through MCP, which is supported by both Claude desktop and Claude.ai with developer mode enabled.

### Can I use my own skills?

Yes. Skills are plain-text instruction files. You can use the 318+ built-in skills, modify them, or write your own from scratch.

### What data does Legalcode provide?

Laws, case law, and regulatory guidance from 24 jurisdictions. Updated daily from primary sources — not summaries or digests.

---
*Legalcode -- legalcode.md*
