Claude Desktop Configuration

Context42 integrates with Claude Desktop via the Model Context Protocol (MCP).

Configuration

Add Context42 to your Claude Desktop configuration file:

PlatformPath
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

  1. Restart Claude Desktop after saving the config
  2. Look for the Context42 tool icon in the chat interface
  3. Ask Claude a question related to your indexed docs — it should automatically use Context42 to find relevant context

Troubleshooting

  • Server not found: Make sure c42 is in your PATH. Try running c42 serve in a terminal first.
  • No results: Ensure you have added and indexed sources with c42 list and c42 status.