Claude Desktop Configuration
Context42 integrates with Claude Desktop via the Model Context Protocol (MCP).
Configuration
Add Context42 to your Claude Desktop configuration file:
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
{
"mcpServers": {
"context42": {
"command": "c42",
"args": ["serve"]
}
}
}
Verify the connection
- Restart Claude Desktop after saving the config
- Look for the Context42 tool icon in the chat interface
- Ask Claude a question related to your indexed docs — it should automatically use Context42 to find relevant context
Troubleshooting
- Server not found: Make sure
c42is in your PATH. Try runningc42 servein a terminal first. - No results: Ensure you have added and indexed sources with
c42 listandc42 status.