Skip to content

Connect CodeContext to Claude Code

Add your coding standards to Claude Code, Anthropic's CLI for AI-assisted development. Claude Code will reference your standards directly from the terminal.

How to Set Up

1

Create a CodeContext account

Sign up and create a space with your coding standards.

2

Copy your MCP credentials

Go to the Connect page and copy your MCP server URL and API key.

3

Add the MCP server via CLI

Run "claude mcp add codecontext" and provide your MCP server URL. Include your API key in the configuration.

4

Verify the connection

Start a new Claude Code session and ask it to list your coding standards. It should be able to query your CodeContext space.

Frequently Asked Questions

What is Claude Code?

Claude Code is Anthropic's official CLI tool for AI-assisted development. It runs in your terminal and can read your codebase, run commands, and connect to external tools via MCP.

Can I use CodeContext with both Claude Desktop and Claude Code?

Yes, the same CodeContext space and API key work with any MCP-compatible client. You can connect Claude Desktop, Claude Code, and other tools simultaneously.

Does Claude Code have access to my full codebase and standards?

Claude Code can read your local codebase directly, and it accesses your CodeContext standards through MCP. This combination lets it check your code against your team's standards in real time.

How do I scope standards to a specific project?

You can add the MCP server at the project level instead of globally. Run "claude mcp add --scope project codecontext" to limit it to the current project directory.

Get Started with Claude Code

Connect CodeContext to Claude Code in under 5 minutes.