Codeweaver MCP Server
by knitlicom.knitli/codeweaverv0.1.0-alpha.3
Semantic code search built for AI agents. Hybrid, AST-aware, context for 166 languages.
context tax
queued
security
queued
cold start
queued
freshness
Abandoned4mo ago
Install Codeweaver MCP server
Install in Claude Code
claude mcp add codeweaver -e CODEWEAVER_EMBEDDING_API_KEY='<codeweaver-embedding-api-key>' -e CODEWEAVER_RERANKING_API_KEY='<codeweaver-reranking-api-key>' -e CODEWEAVER_VECTOR_STORE_API_KEY='<codeweaver-vector-store-api-key>' -e OPENAI_API_KEY='<openai-api-key>' -e AI_GATEWAY_API_KEY='<ai-gateway-api-key>' -e AWS_SECRET_ACCESS_KEY='<aws-secret-access-key>' -e AZURE_COHERE_API_KEY='<azure-cohere-api-key>' -e AZURE_OPENAI_API_KEY='<azure-openai-api-key>' -e DEEPSEEK_API_KEY='<deepseek-api-key>' -e INFERENCE_KEY='<inference-key>' -e QDRANT__SERVICE__API_KEY='<qdrant--service--api-key>' -e TOGETHER_API_KEY='<together-api-key>' -e VERCEL_OIDC_TOKEN='<vercel-oidc-token>' -e VOYAGE_API_KEY='<voyage-api-key>' -- uvx code-weaver server --host 127.0.0.1 --port 9328 --transport streamable-httpInstall in Cursor
{
"mcpServers": {
"codeweaver": {
"command": "uvx",
"args": [
"code-weaver",
"server",
"--host",
"127.0.0.1",
"--port",
"9328",
"--transport",
"streamable-http"
],
"env": {
"CODEWEAVER_EMBEDDING_API_KEY": "<codeweaver-embedding-api-key>",
"CODEWEAVER_RERANKING_API_KEY": "<codeweaver-reranking-api-key>",
"CODEWEAVER_VECTOR_STORE_API_KEY": "<codeweaver-vector-store-api-key>",
"OPENAI_API_KEY": "<openai-api-key>",
"AI_GATEWAY_API_KEY": "<ai-gateway-api-key>",
"AWS_SECRET_ACCESS_KEY": "<aws-secret-access-key>",
"AZURE_COHERE_API_KEY": "<azure-cohere-api-key>",
"AZURE_OPENAI_API_KEY": "<azure-openai-api-key>",
"DEEPSEEK_API_KEY": "<deepseek-api-key>",
"INFERENCE_KEY": "<inference-key>",
"QDRANT__SERVICE__API_KEY": "<qdrant--service--api-key>",
"TOGETHER_API_KEY": "<together-api-key>",
"VERCEL_OIDC_TOKEN": "<vercel-oidc-token>",
"VOYAGE_API_KEY": "<voyage-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"codeweaver": {
"command": "uvx",
"args": [
"code-weaver",
"server",
"--host",
"127.0.0.1",
"--port",
"9328",
"--transport",
"streamable-http"
],
"env": {
"CODEWEAVER_EMBEDDING_API_KEY": "<codeweaver-embedding-api-key>",
"CODEWEAVER_RERANKING_API_KEY": "<codeweaver-reranking-api-key>",
"CODEWEAVER_VECTOR_STORE_API_KEY": "<codeweaver-vector-store-api-key>",
"OPENAI_API_KEY": "<openai-api-key>",
"AI_GATEWAY_API_KEY": "<ai-gateway-api-key>",
"AWS_SECRET_ACCESS_KEY": "<aws-secret-access-key>",
"AZURE_COHERE_API_KEY": "<azure-cohere-api-key>",
"AZURE_OPENAI_API_KEY": "<azure-openai-api-key>",
"DEEPSEEK_API_KEY": "<deepseek-api-key>",
"INFERENCE_KEY": "<inference-key>",
"QDRANT__SERVICE__API_KEY": "<qdrant--service--api-key>",
"TOGETHER_API_KEY": "<together-api-key>",
"VERCEL_OIDC_TOKEN": "<vercel-oidc-token>",
"VOYAGE_API_KEY": "<voyage-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"codeweaver": {
"type": "stdio",
"command": "uvx",
"args": [
"code-weaver",
"server",
"--host",
"127.0.0.1",
"--port",
"9328",
"--transport",
"streamable-http"
],
"env": {
"CODEWEAVER_EMBEDDING_API_KEY": "<codeweaver-embedding-api-key>",
"CODEWEAVER_RERANKING_API_KEY": "<codeweaver-reranking-api-key>",
"CODEWEAVER_VECTOR_STORE_API_KEY": "<codeweaver-vector-store-api-key>",
"OPENAI_API_KEY": "<openai-api-key>",
"AI_GATEWAY_API_KEY": "<ai-gateway-api-key>",
"AWS_SECRET_ACCESS_KEY": "<aws-secret-access-key>",
"AZURE_COHERE_API_KEY": "<azure-cohere-api-key>",
"AZURE_OPENAI_API_KEY": "<azure-openai-api-key>",
"DEEPSEEK_API_KEY": "<deepseek-api-key>",
"INFERENCE_KEY": "<inference-key>",
"QDRANT__SERVICE__API_KEY": "<qdrant--service--api-key>",
"TOGETHER_API_KEY": "<together-api-key>",
"VERCEL_OIDC_TOKEN": "<vercel-oidc-token>",
"VOYAGE_API_KEY": "<voyage-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"codeweaver": {
"command": "uvx",
"args": [
"code-weaver",
"server",
"--host",
"127.0.0.1",
"--port",
"9328",
"--transport",
"streamable-http"
],
"env": {
"CODEWEAVER_EMBEDDING_API_KEY": "<codeweaver-embedding-api-key>",
"CODEWEAVER_RERANKING_API_KEY": "<codeweaver-reranking-api-key>",
"CODEWEAVER_VECTOR_STORE_API_KEY": "<codeweaver-vector-store-api-key>",
"OPENAI_API_KEY": "<openai-api-key>",
"AI_GATEWAY_API_KEY": "<ai-gateway-api-key>",
"AWS_SECRET_ACCESS_KEY": "<aws-secret-access-key>",
"AZURE_COHERE_API_KEY": "<azure-cohere-api-key>",
"AZURE_OPENAI_API_KEY": "<azure-openai-api-key>",
"DEEPSEEK_API_KEY": "<deepseek-api-key>",
"INFERENCE_KEY": "<inference-key>",
"QDRANT__SERVICE__API_KEY": "<qdrant--service--api-key>",
"TOGETHER_API_KEY": "<together-api-key>",
"VERCEL_OIDC_TOKEN": "<vercel-oidc-token>",
"VOYAGE_API_KEY": "<voyage-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CODEWEAVER_CONFIG_FILE | — | — | Specify a custom config file path for CodeWeaver. Only needed if not using the default locations. |
| CODEWEAVER_DEBUG | — | — | Enable debug mode for CodeWeaver. |
| CODEWEAVER_EMBEDDING_API_KEY | — | yes | Specify the API key for the embedding provider, if required. Note: {', '.join([p for p in _providers_for_kind('embedding') if p.])} |
| CODEWEAVER_EMBEDDING_MODEL | — | — | Specify the embedding model to use. |
| CODEWEAVER_EMBEDDING_PROVIDER | — | — | Specify the embedding provider to use. |
| CODEWEAVER_HOST | — | — | Set the server host for CodeWeaver. |
| CODEWEAVER_LOG_LEVEL | — | — | Set the log level for CodeWeaver (e.g., DEBUG, INFO, WARNING, ERROR). |
| CODEWEAVER_MCP_PORT | — | — | Set the MCP server port for CodeWeaver if using http transport for mcp. Not required if using the default port (9328), or stdio transport. |
| CODEWEAVER_PORT | — | — | Set the port for the codeweaver management server (information and management endpoints). |
| CODEWEAVER_PROFILE | — | — | Use a premade provider settings profile for CodeWeaver. |
| CODEWEAVER_PROJECT_NAME | — | — | Set the project name for CodeWeaver. |
| CODEWEAVER_PROJECT_PATH | — | — | Set the project path for CodeWeaver. |
| CODEWEAVER_RERANKING_API_KEY | — | yes | Specify the API key for the reranking provider, if required. |
| CODEWEAVER_RERANKING_MODEL | — | — | Specify the reranking model to use. |
| CODEWEAVER_RERANKING_PROVIDER | — | — | Specify the reranking provider to use. |
| CODEWEAVER_SPARSE_EMBEDDING_MODEL | — | — | Specify the sparse embedding model to use. |
| CODEWEAVER_SPARSE_EMBEDDING_PROVIDER | — | — | Specify the sparse embedding provider to use. |
| CODEWEAVER_VECTOR_STORE_API_KEY | — | yes | Specify the API key for the vector store, if required. |
| CODEWEAVER_VECTOR_STORE_PORT | — | — | Specify the port for the vector store. |
| CODEWEAVER_VECTOR_STORE_PROVIDER | — | — | Specify the vector store provider to use. |
| CODEWEAVER_VECTOR_STORE_URL | — | — | Specify the URL for the vector store. |
| CODEWEAVER__TELEMETRY__DISABLE_TELEMETRY | — | — | Disable telemetry data collection. |
| CODEWEAVER__TELEMETRY__TOOLS_OVER_PRIVACY | — | — | Opt-in to potentially identifying collection of query and search result data. This is invaluable for helping us improve CodeWeaver's search capabilities. If privacy is a higher priority, do not enable this setting. |
| HTTPS_PROXY | — | — | HTTP proxy for requests (Used by: Azure, Azure, Voyage) |
| OPENAI_API_KEY | — | yes | API key for OpenAI-compatible services (not necessarily an API key *for* OpenAI). The OpenAI client also requires an API key, even if you don't actually need one for your provider (like local Ollama). So provide a dummy key if needed. (Used by: Azure, Cerebras, Deepseek, Fireworks, Github, Groq, Heroku, Moonshot, Ollama, Openai, Openrouter, Perplexity, Together, Vercel, X Ai) |
| OPENAI_LOG | — | — | One of: 'debug', 'info', 'warning', 'error' (Used by: Azure, Cerebras, Deepseek, Fireworks, Github, Groq, Heroku, Moonshot, Ollama, Openai, Openrouter, Perplexity, Together, Vercel, X Ai) |
| SSL_CERT_FILE | — | — | Path to the SSL certificate file for requests (Used by: Azure, Azure, Voyage) |
| AI_GATEWAY_API_KEY | — | yes | API key for Vercel service |
| AWS_ACCOUNT_ID | — | — | AWS Account ID for Bedrock service |
| AWS_REGION | — | — | AWS region for Bedrock service |
| AWS_SECRET_ACCESS_KEY | — | yes | AWS Secret Access Key for Bedrock service |
| AZURE_COHERE_API_KEY | — | yes | API key for Azure Cohere service (cohere models on Azure) |
| AZURE_COHERE_ENDPOINT | — | — | Endpoint for Azure Cohere service (cohere models on Azure) |
| AZURE_COHERE_REGION | — | — | Region for Azure Cohere service |
| AZURE_OPENAI_API_KEY | — | yes | API key for Azure OpenAI service (OpenAI models on Azure) |
| AZURE_OPENAI_ENDPOINT | — | — | Endpoint for Azure OpenAI service (OpenAI models on Azure) |
| AZURE_OPENAI_REGION | — | — | Region for Azure OpenAI service (OpenAI models on Azure) |
| COHERE_API_KEY | — | — | Your Cohere API Key |
| CO_API_URL | — | — | Host URL for Cohere service |
| DEEPSEEK_API_KEY | — | yes | API key for DeepSeek service |
| GEMINI_API_KEY | — | — | Your Google Gemini API Key |
| GOOGLE_API_KEY | — | — | Your Google API Key |
| HF_HUB_VERBOSITY | — | — | Log level for Hugging Face Hub client |
| HF_TOKEN | — | — | API key/token for Hugging Face service |
| INFERENCE_KEY | — | yes | API key for Heroku service |
| INFERENCE_URL | — | — | Host URL for Heroku service |
| MISTRAL_API_KEY | — | — | Your Mistral API Key |
| QDRANT__LOG_LEVEL | — | — | Log level for Qdrant service |
| QDRANT__SERVICE__API_KEY | — | yes | API key for Qdrant service |
| QDRANT__SERVICE__ENABLE_TLS | — | — | Enable TLS for Qdrant service, expects truthy or false value (e.g. 1 for on, 0 for off). |
| QDRANT__SERVICE__HOST | — | — | Hostname of the Qdrant service; do not use for URLs with schemes (e.g. 'http://') |
| QDRANT__SERVICE__HTTP_PORT | — | — | Port number for the Qdrant service |
| QDRANT__TLS__CERT | — | — | Path to the TLS certificate file for Qdrant service. Only needed if using a self-signed certificate. If you're using qdrant-cloud, you don't need this. |
| TAVILY_API_KEY | — | — | Your Tavily API Key |
| TOGETHER_API_KEY | — | yes | API key for Together service |
| VERCEL_OIDC_TOKEN | — | yes | OIDC token for Vercel service |
| VOYAGE_API_KEY | — | yes | API key for Voyage service |
Freshness
Abandoned — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-06-16 · 4mo ago · GitHub
Latest release
2026-04-16 · 6mo ago · GitHub · v0.1.2
Package published
no data · npm/PyPI
Registry entry updated
2025-12-03 · 10mo ago · official registry · v0.1.0-alpha.3
FAQ
›How do I install the Codeweaver MCP server in Claude Code?
Run: claude mcp add codeweaver -e CODEWEAVER_EMBEDDING_API_KEY='<codeweaver-embedding-api-key>' -e CODEWEAVER_RERANKING_API_KEY='<codeweaver-reranking-api-key>' -e CODEWEAVER_VECTOR_STORE_API_KEY='<codeweaver-vector-store-api-key>' -e OPENAI_API_KEY='<openai-api-key>' -e AI_GATEWAY_API_KEY='<ai-gateway-api-key>' -e AWS_SECRET_ACCESS_KEY='<aws-secret-access-key>' -e AZURE_COHERE_API_KEY='<azure-cohere-api-key>' -e AZURE_OPENAI_API_KEY='<azure-openai-api-key>' -e DEEPSEEK_API_KEY='<deepseek-api-key>' -e INFERENCE_KEY='<inference-key>' -e QDRANT__SERVICE__API_KEY='<qdrant--service--api-key>' -e TOGETHER_API_KEY='<together-api-key>' -e VERCEL_OIDC_TOKEN='<vercel-oidc-token>' -e VOYAGE_API_KEY='<voyage-api-key>' -- uvx code-weaver server --host 127.0.0.1 --port 9328 --transport streamable-http. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Codeweaver require an API key?
Yes. It expects CODEWEAVER_EMBEDDING_API_KEY, CODEWEAVER_RERANKING_API_KEY, CODEWEAVER_VECTOR_STORE_API_KEY, OPENAI_API_KEY, AI_GATEWAY_API_KEY, AWS_SECRET_ACCESS_KEY, AZURE_COHERE_API_KEY, AZURE_OPENAI_API_KEY, DEEPSEEK_API_KEY, INFERENCE_KEY, QDRANT__SERVICE__API_KEY, TOGETHER_API_KEY, VERCEL_OIDC_TOKEN, VOYAGE_API_KEY, of which 14 are secrets.
›Can I use Codeweaver as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Codeweaver in the official MCP registry?
Yes, as com.knitli/codeweaver.