01
Choose your agent
Claude Code, ChatGPT, Cursor, Windsurf, Codex - any MCP-compatible tool. Your agent runs on your machine, under your control. No new accounts, no data uploads.
HOW IT WORKS
Traditional legal AI means pushing your documents to yet another platform - and then another. Legalcode inverts this. Your agent is the hub. Your data stays with you. We just add the law.
THE PROBLEM
Every legal AI platform requires you to upload documents, create accounts, and trust a new vendor with sensitive client data. Each one becomes another silo.
None of them talk to each other. None of them talk to your existing tools. And every one of them retains your data on their servers under their terms.
For a profession built on privilege and confidentiality, this architecture is fundamentally broken.
THE INVERSION
01
Claude Code, ChatGPT, Cursor, Windsurf, Codex - any MCP-compatible tool. Your agent runs on your machine, under your control. No new accounts, no data uploads.
02
One command - npx legalcode --start - connects your agent to primary legal sources and custom-built skills via MCP. The server runs locally. Your queries are never logged.
03
Research statutes. Review contracts. Generate DPIAs. Your agent reasons with the law using primary sources and proven methodologies. Documents never leave your device.
WHY THIS KEEPS YOUR DATA SAFE
Legalcode never stores your documents, queries, or results. The MCP server processes requests in memory and discards them. There is no database of your activity.
Your agent runs on your device. Documents are read locally, analyzed locally, and results stay local. Nothing is uploaded to Legalcode servers.
Attorney-client privilege depends on controlling who sees what. By keeping data on your device and never logging queries, the privilege chain remains unbroken.