Skip to main content

Codebase knowledge graph MCP server — call chains, topology, and hybrid search for coding agents

Project description

orgraph

Codebase knowledge graph for coding agents. Points at any repo, builds a persistent graph, serves it via MCP.

Install

uv venv && uv pip install -e .

Usage

# Index a repo
orgraph index /path/to/repo

# Check graph stats
orgraph status /path/to/repo

# Search code
orgraph search "authentication middleware" /path/to/repo

# Start MCP server (add to Cursor / Claude CLI config)
orgraph serve /path/to/repo

MCP config (Claude CLI)

{
  "mcpServers": {
    "orgraph": { "command": "orgraph", "args": ["serve", "."] }
  }
}

Architecture

See plan for full design.

  • Extraction: SCIP (compiler-accurate) → tree-sitter fallback (graphify)
  • Storage: Kuzu embedded graph DB
  • Search: semble hybrid BM25 + Model2Vec
  • Topology: codewiki BFS entry-point clustering
  • Communities: Leiden community detection (graphify)
  • Agent interface: FastMCP stdio server, 5 tools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orgraph_mcp-0.1.0.tar.gz (284.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orgraph_mcp-0.1.0-py3-none-any.whl (174.5 kB view details)

Uploaded Python 3

File details

Details for the file orgraph_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: orgraph_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 284.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for orgraph_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 43ecc6ab4a44008a0cf7d23d611ba5be07863abd722c4dc1a3d70cf96cde0a29
MD5 1b1c87de9423568fad4fafe2e0dd1623
BLAKE2b-256 21a5673b4911472f0db8c22b4514cce772233f732a6d88e264586ed42c34e6c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for orgraph_mcp-0.1.0.tar.gz:

Publisher: release.yml on tss-pranavkumar/orgraph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file orgraph_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: orgraph_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 174.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for orgraph_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c928b10ffb49843d9680f9fdb6daa3d6cb5f3a0e94b0ed60553b8e2a970f1848
MD5 5765e0c4b050f1fa74d3a4ce7abf24f1
BLAKE2b-256 5eccd7fdaaf7e6e8a457e8f139d6cd12b7bfd87541dd10ceb08d06337f0c5af7

See more details on using hashes here.

Provenance

The following attestation bundles were made for orgraph_mcp-0.1.0-py3-none-any.whl:

Publisher: release.yml on tss-pranavkumar/orgraph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page