Skip to content
VS Code

codeweaver for VS Code

com.knitli/codeweaver

Semantic code search built for AI agents. Hybrid, AST-aware, context for 166 languages.

client:VS Code transport:stdio runtime:pypi

Install codeweaver in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "codeweaver-config-file",
      "description": "CODEWEAVER_CONFIG_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-debug",
      "description": "CODEWEAVER_DEBUG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-embedding-api-key",
      "description": "CODEWEAVER_EMBEDDING_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-embedding-model",
      "description": "CODEWEAVER_EMBEDDING_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-embedding-provider",
      "description": "CODEWEAVER_EMBEDDING_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-host",
      "description": "CODEWEAVER_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-log-level",
      "description": "CODEWEAVER_LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-mcp-port",
      "description": "CODEWEAVER_MCP_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-port",
      "description": "CODEWEAVER_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-profile",
      "description": "CODEWEAVER_PROFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-project-name",
      "description": "CODEWEAVER_PROJECT_NAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-project-path",
      "description": "CODEWEAVER_PROJECT_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-reranking-api-key",
      "description": "CODEWEAVER_RERANKING_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-reranking-model",
      "description": "CODEWEAVER_RERANKING_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-reranking-provider",
      "description": "CODEWEAVER_RERANKING_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-sparse-embedding-model",
      "description": "CODEWEAVER_SPARSE_EMBEDDING_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-sparse-embedding-provider",
      "description": "CODEWEAVER_SPARSE_EMBEDDING_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-vector-store-api-key",
      "description": "CODEWEAVER_VECTOR_STORE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-vector-store-port",
      "description": "CODEWEAVER_VECTOR_STORE_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-vector-store-provider",
      "description": "CODEWEAVER_VECTOR_STORE_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver-vector-store-url",
      "description": "CODEWEAVER_VECTOR_STORE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver--telemetry--disable-telemetry",
      "description": "CODEWEAVER__TELEMETRY__DISABLE_TELEMETRY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codeweaver--telemetry--tools-over-privacy",
      "description": "CODEWEAVER__TELEMETRY__TOOLS_OVER_PRIVACY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "https-proxy",
      "description": "HTTPS_PROXY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-log",
      "description": "OPENAI_LOG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ssl-cert-file",
      "description": "SSL_CERT_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ai-gateway-api-key",
      "description": "AI_GATEWAY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-account-id",
      "description": "AWS_ACCOUNT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-region",
      "description": "AWS_REGION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-secret-access-key",
      "description": "AWS_SECRET_ACCESS_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-cohere-api-key",
      "description": "AZURE_COHERE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-cohere-endpoint",
      "description": "AZURE_COHERE_ENDPOINT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-cohere-region",
      "description": "AZURE_COHERE_REGION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-openai-api-key",
      "description": "AZURE_OPENAI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-openai-endpoint",
      "description": "AZURE_OPENAI_ENDPOINT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-openai-region",
      "description": "AZURE_OPENAI_REGION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cohere-api-key",
      "description": "COHERE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "co-api-url",
      "description": "CO_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "deepseek-api-key",
      "description": "DEEPSEEK_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gemini-api-key",
      "description": "GEMINI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-api-key",
      "description": "GOOGLE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hf-hub-verbosity",
      "description": "HF_HUB_VERBOSITY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "hf-token",
      "description": "HF_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "inference-key",
      "description": "INFERENCE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "inference-url",
      "description": "INFERENCE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mistral-api-key",
      "description": "MISTRAL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qdrant--log-level",
      "description": "QDRANT__LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qdrant--service--api-key",
      "description": "QDRANT__SERVICE__API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qdrant--service--enable-tls",
      "description": "QDRANT__SERVICE__ENABLE_TLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qdrant--service--host",
      "description": "QDRANT__SERVICE__HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qdrant--service--http-port",
      "description": "QDRANT__SERVICE__HTTP_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "qdrant--tls--cert",
      "description": "QDRANT__TLS__CERT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tavily-api-key",
      "description": "TAVILY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "together-api-key",
      "description": "TOGETHER_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "vercel-oidc-token",
      "description": "VERCEL_OIDC_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "voyage-api-key",
      "description": "VOYAGE_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "codeweaver": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "code-weaver"
      ],
      "env": {
        "CODEWEAVER_CONFIG_FILE": "${input:codeweaver-config-file}",
        "CODEWEAVER_DEBUG": "${input:codeweaver-debug}",
        "CODEWEAVER_EMBEDDING_API_KEY": "${input:codeweaver-embedding-api-key}",
        "CODEWEAVER_EMBEDDING_MODEL": "${input:codeweaver-embedding-model}",
        "CODEWEAVER_EMBEDDING_PROVIDER": "${input:codeweaver-embedding-provider}",
        "CODEWEAVER_HOST": "${input:codeweaver-host}",
        "CODEWEAVER_LOG_LEVEL": "${input:codeweaver-log-level}",
        "CODEWEAVER_MCP_PORT": "${input:codeweaver-mcp-port}",
        "CODEWEAVER_PORT": "${input:codeweaver-port}",
        "CODEWEAVER_PROFILE": "${input:codeweaver-profile}",
        "CODEWEAVER_PROJECT_NAME": "${input:codeweaver-project-name}",
        "CODEWEAVER_PROJECT_PATH": "${input:codeweaver-project-path}",
        "CODEWEAVER_RERANKING_API_KEY": "${input:codeweaver-reranking-api-key}",
        "CODEWEAVER_RERANKING_MODEL": "${input:codeweaver-reranking-model}",
        "CODEWEAVER_RERANKING_PROVIDER": "${input:codeweaver-reranking-provider}",
        "CODEWEAVER_SPARSE_EMBEDDING_MODEL": "${input:codeweaver-sparse-embedding-model}",
        "CODEWEAVER_SPARSE_EMBEDDING_PROVIDER": "${input:codeweaver-sparse-embedding-provider}",
        "CODEWEAVER_VECTOR_STORE_API_KEY": "${input:codeweaver-vector-store-api-key}",
        "CODEWEAVER_VECTOR_STORE_PORT": "${input:codeweaver-vector-store-port}",
        "CODEWEAVER_VECTOR_STORE_PROVIDER": "${input:codeweaver-vector-store-provider}",
        "CODEWEAVER_VECTOR_STORE_URL": "${input:codeweaver-vector-store-url}",
        "CODEWEAVER__TELEMETRY__DISABLE_TELEMETRY": "${input:codeweaver--telemetry--disable-telemetry}",
        "CODEWEAVER__TELEMETRY__TOOLS_OVER_PRIVACY": "${input:codeweaver--telemetry--tools-over-privacy}",
        "HTTPS_PROXY": "${input:https-proxy}",
        "OPENAI_API_KEY": "${input:openai-api-key}",
        "OPENAI_LOG": "${input:openai-log}",
        "SSL_CERT_FILE": "${input:ssl-cert-file}",
        "AI_GATEWAY_API_KEY": "${input:ai-gateway-api-key}",
        "AWS_ACCOUNT_ID": "${input:aws-account-id}",
        "AWS_REGION": "${input:aws-region}",
        "AWS_SECRET_ACCESS_KEY": "${input:aws-secret-access-key}",
        "AZURE_COHERE_API_KEY": "${input:azure-cohere-api-key}",
        "AZURE_COHERE_ENDPOINT": "${input:azure-cohere-endpoint}",
        "AZURE_COHERE_REGION": "${input:azure-cohere-region}",
        "AZURE_OPENAI_API_KEY": "${input:azure-openai-api-key}",
        "AZURE_OPENAI_ENDPOINT": "${input:azure-openai-endpoint}",
        "AZURE_OPENAI_REGION": "${input:azure-openai-region}",
        "COHERE_API_KEY": "${input:cohere-api-key}",
        "CO_API_URL": "${input:co-api-url}",
        "DEEPSEEK_API_KEY": "${input:deepseek-api-key}",
        "GEMINI_API_KEY": "${input:gemini-api-key}",
        "GOOGLE_API_KEY": "${input:google-api-key}",
        "HF_HUB_VERBOSITY": "${input:hf-hub-verbosity}",
        "HF_TOKEN": "${input:hf-token}",
        "INFERENCE_KEY": "${input:inference-key}",
        "INFERENCE_URL": "${input:inference-url}",
        "MISTRAL_API_KEY": "${input:mistral-api-key}",
        "QDRANT__LOG_LEVEL": "${input:qdrant--log-level}",
        "QDRANT__SERVICE__API_KEY": "${input:qdrant--service--api-key}",
        "QDRANT__SERVICE__ENABLE_TLS": "${input:qdrant--service--enable-tls}",
        "QDRANT__SERVICE__HOST": "${input:qdrant--service--host}",
        "QDRANT__SERVICE__HTTP_PORT": "${input:qdrant--service--http-port}",
        "QDRANT__TLS__CERT": "${input:qdrant--tls--cert}",
        "TAVILY_API_KEY": "${input:tavily-api-key}",
        "TOGETHER_API_KEY": "${input:together-api-key}",
        "VERCEL_OIDC_TOKEN": "${input:vercel-oidc-token}",
        "VOYAGE_API_KEY": "${input:voyage-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

codeweaver in other clients