Koskamo

Code-Graph-RAG MCP

An open-source MCP server that builds knowledge graphs from multi-language codebases using Tree-sitter. It enables agents to query, edit, and optimize code via natural language, supporting features like dead code detection, structural search, and data-flow tracing across 14 languages.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Code-Graph-RAG MCP logo, by vitali87Community listingLocal stdioSource reviewed; not executedPublished by vitali87
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 5,309 GitHub stars

What you can do with it

  • Query codebase structure using natural language
  • Edit code via AST-based function targeting
  • Detect dead code and unreachable functions
  • Trace data flow and taint edges

Source and maintenance

Community listingRegistry 0.4.19MIT
Last repository push
Latest release
v0.4.19
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

code-graph-rag 0.4.19

pypiuvx
code-graph-rag package definition
{
  "version": "0.4.19",
  "transport": "stdio",
  "identifier": "code-graph-rag",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "packageArguments": [
    {
      "type": "positional",
      "value": "mcp-server"
    }
  ],
  "environmentVariables": [
    {
      "name": "ORCHESTRATOR_PROVIDER",
      "default": "ollama",
      "description": "LLM provider for the orchestrator agent (openai, anthropic, google, azure, cohere, ollama)"
    },
    {
      "name": "ORCHESTRATOR_MODEL",
      "default": "llama3.2",
      "description": "Model name for the orchestrator agent"
    },
    {
      "name": "ORCHESTRATOR_API_KEY",
      "description": "API key for the orchestrator LLM provider (not needed for the default local ollama provider)"
    },
    {
      "name": "CYPHER_PROVIDER",
      "default": "ollama",
      "description": "LLM provider for Cypher query generation (openai, anthropic, google, azure, cohere, ollama)"
    },
    {
      "name": "CYPHER_MODEL",
      "default": "llama3.2",
      "description": "Model name for Cypher query generation"
    },
    {
      "name": "CYPHER_API_KEY",
      "description": "API key for the Cypher LLM provider (not needed for the default local ollama provider)"
    },
    {
      "name": "MEMGRAPH_HOST",
      "default": "localhost",
      "description": "Hostname of the Memgraph database"
    },
    {
      "name": "MEMGRAPH_PORT",
      "default": "7687",
      "description": "Port of the Memgraph database"
    },
    {
      "name": "TARGET_REPO_PATH",
      "description": "Path to the repository to analyze (auto-detected from working directory if not set)"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "code-graph-rag-mcp": {
      "command": "uvx",
      "args": [
        "code-graph-rag==0.4.19",
        "mcp-server"
      ],
      "env": {
        "ORCHESTRATOR_PROVIDER": "<YOUR_ORCHESTRATOR_PROVIDER>",
        "ORCHESTRATOR_MODEL": "<YOUR_ORCHESTRATOR_MODEL>",
        "ORCHESTRATOR_API_KEY": "<YOUR_ORCHESTRATOR_API_KEY>",
        "CYPHER_PROVIDER": "<YOUR_CYPHER_PROVIDER>",
        "CYPHER_MODEL": "<YOUR_CYPHER_MODEL>",
        "CYPHER_API_KEY": "<YOUR_CYPHER_API_KEY>",
        "MEMGRAPH_HOST": "<YOUR_MEMGRAPH_HOST>",
        "MEMGRAPH_PORT": "<YOUR_MEMGRAPH_PORT>",
        "TARGET_REPO_PATH": "<YOUR_TARGET_REPO_PATH>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "code-graph-rag-mcp": {
      "command": "uvx",
      "args": [
        "code-graph-rag==0.4.19",
        "mcp-server"
      ],
      "env": {
        "ORCHESTRATOR_PROVIDER": "<YOUR_ORCHESTRATOR_PROVIDER>",
        "ORCHESTRATOR_MODEL": "<YOUR_ORCHESTRATOR_MODEL>",
        "ORCHESTRATOR_API_KEY": "<YOUR_ORCHESTRATOR_API_KEY>",
        "CYPHER_PROVIDER": "<YOUR_CYPHER_PROVIDER>",
        "CYPHER_MODEL": "<YOUR_CYPHER_MODEL>",
        "CYPHER_API_KEY": "<YOUR_CYPHER_API_KEY>",
        "MEMGRAPH_HOST": "<YOUR_MEMGRAPH_HOST>",
        "MEMGRAPH_PORT": "<YOUR_MEMGRAPH_PORT>",
        "TARGET_REPO_PATH": "<YOUR_TARGET_REPO_PATH>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "code-graph-rag-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "code-graph-rag==0.4.19",
        "mcp-server"
      ],
      "env": {
        "ORCHESTRATOR_PROVIDER": "<YOUR_ORCHESTRATOR_PROVIDER>",
        "ORCHESTRATOR_MODEL": "<YOUR_ORCHESTRATOR_MODEL>",
        "ORCHESTRATOR_API_KEY": "<YOUR_ORCHESTRATOR_API_KEY>",
        "CYPHER_PROVIDER": "<YOUR_CYPHER_PROVIDER>",
        "CYPHER_MODEL": "<YOUR_CYPHER_MODEL>",
        "CYPHER_API_KEY": "<YOUR_CYPHER_API_KEY>",
        "MEMGRAPH_HOST": "<YOUR_MEMGRAPH_HOST>",
        "MEMGRAPH_PORT": "<YOUR_MEMGRAPH_PORT>",
        "TARGET_REPO_PATH": "<YOUR_TARGET_REPO_PATH>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "code-graph-rag-mcp": {
      "command": "uvx",
      "args": [
        "code-graph-rag==0.4.19",
        "mcp-server"
      ],
      "env": {
        "ORCHESTRATOR_PROVIDER": "<YOUR_ORCHESTRATOR_PROVIDER>",
        "ORCHESTRATOR_MODEL": "<YOUR_ORCHESTRATOR_MODEL>",
        "ORCHESTRATOR_API_KEY": "<YOUR_ORCHESTRATOR_API_KEY>",
        "CYPHER_PROVIDER": "<YOUR_CYPHER_PROVIDER>",
        "CYPHER_MODEL": "<YOUR_CYPHER_MODEL>",
        "CYPHER_API_KEY": "<YOUR_CYPHER_API_KEY>",
        "MEMGRAPH_HOST": "<YOUR_MEMGRAPH_HOST>",
        "MEMGRAPH_PORT": "<YOUR_MEMGRAPH_PORT>",
        "TARGET_REPO_PATH": "<YOUR_TARGET_REPO_PATH>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Code-Graph-RAG MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.