Install guide · Claude Desktop
Install codeweaver for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "knitli-codeweaver": { "command": "uvx", "args": [ "code-weaver" ], "env": { "CODEWEAVER_CONFIG_FILE": "", "CODEWEAVER_DEBUG": "false", "CODEWEAVER_EMBEDDING_API_KEY": "YOUR_CODEWEAVER_EMBEDDING_API_KEY", "CODEWEAVER_EMBEDDING_MODEL": "voyage-code-3", "CODEWEAVER_EMBEDDING_PROVIDER": "voyage", "CODEWEAVER_HOST": "localhost", "CODEWEAVER_LOG_LEVEL": "WARNING", "CODEWEAVER_MCP_PORT": "9328", "CODEWEAVER_PORT": "9329", "CODEWEAVER_PROFILE": "", "CODEWEAVER_PROJECT_NAME": "", "CODEWEAVER_PROJECT_PATH": "", "CODEWEAVER_RERANKING_API_KEY": "YOUR_CODEWEAVER_RERANKING_API_KEY", "CODEWEAVER_RERANKING_MODEL": "rerank-2.5", "CODEWEAVER_RERANKING_PROVIDER": "voyage", "CODEWEAVER_SPARSE_EMBEDDING_MODEL": "prithivida/Splade_pp_en_v1", "CODEWEAVER_SPARSE_EMBEDDING_PROVIDER": "fastembed", "CODEWEAVER_VECTOR_STORE_API_KEY": "YOUR_CODEWEAVER_VECTOR_STORE_API_KEY", "CODEWEAVER_VECTOR_STORE_PORT": "6333", "CODEWEAVER_VECTOR_STORE_PROVIDER": "qdrant", "CODEWEAVER_VECTOR_STORE_URL": "http://localhost", "CODEWEAVER__TELEMETRY__DISABLE_TELEMETRY": "false", "CODEWEAVER__TELEMETRY__TOOLS_OVER_PRIVACY": "false", "HTTPS_PROXY": "", "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY", "OPENAI_LOG": "", "SSL_CERT_FILE": "", "AI_GATEWAY_API_KEY": "YOUR_AI_GATEWAY_API_KEY", "AWS_ACCOUNT_ID": "", "AWS_REGION": "", "AWS_SECRET_ACCESS_KEY": "YOUR_AWS_SECRET_ACCESS_KEY", "AZURE_COHERE_API_KEY": "YOUR_AZURE_COHERE_API_KEY", "AZURE_COHERE_ENDPOINT": "", "AZURE_COHERE_REGION": "", "AZURE_OPENAI_API_KEY": "YOUR_AZURE_OPENAI_API_KEY", "AZURE_OPENAI_ENDPOINT": "", "AZURE_OPENAI_REGION": "", "COHERE_API_KEY": "", "CO_API_URL": "", "DEEPSEEK_API_KEY": "YOUR_DEEPSEEK_API_KEY", "GEMINI_API_KEY": "", "GOOGLE_API_KEY": "", "HF_HUB_VERBOSITY": "", "HF_TOKEN": "", "INFERENCE_KEY": "YOUR_INFERENCE_KEY", "INFERENCE_URL": "", "MISTRAL_API_KEY": "", "QDRANT__LOG_LEVEL": "", "QDRANT__SERVICE__API_KEY": "YOUR_QDRANT__SERVICE__API_KEY", "QDRANT__SERVICE__ENABLE_TLS": "", "QDRANT__SERVICE__HOST": "", "QDRANT__SERVICE__HTTP_PORT": "", "QDRANT__TLS__CERT": "", "TAVILY_API_KEY": "", "TOGETHER_API_KEY": "YOUR_TOGETHER_API_KEY", "VERCEL_OIDC_TOKEN": "YOUR_VERCEL_OIDC_TOKEN", "VOYAGE_API_KEY": "YOUR_VOYAGE_API_KEY" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |