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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43ecc6ab4a44008a0cf7d23d611ba5be07863abd722c4dc1a3d70cf96cde0a29
|
|
| MD5 |
1b1c87de9423568fad4fafe2e0dd1623
|
|
| BLAKE2b-256 |
21a5673b4911472f0db8c22b4514cce772233f732a6d88e264586ed42c34e6c5
|
Provenance
The following attestation bundles were made for orgraph_mcp-0.1.0.tar.gz:
Publisher:
release.yml on tss-pranavkumar/orgraph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orgraph_mcp-0.1.0.tar.gz -
Subject digest:
43ecc6ab4a44008a0cf7d23d611ba5be07863abd722c4dc1a3d70cf96cde0a29 - Sigstore transparency entry: 1847752212
- Sigstore integration time:
-
Permalink:
tss-pranavkumar/orgraph@2c176fab84a752193e7f65d4165f877d6246519c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tss-pranavkumar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2c176fab84a752193e7f65d4165f877d6246519c -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c928b10ffb49843d9680f9fdb6daa3d6cb5f3a0e94b0ed60553b8e2a970f1848
|
|
| MD5 |
5765e0c4b050f1fa74d3a4ce7abf24f1
|
|
| BLAKE2b-256 |
5eccd7fdaaf7e6e8a457e8f139d6cd12b7bfd87541dd10ceb08d06337f0c5af7
|
Provenance
The following attestation bundles were made for orgraph_mcp-0.1.0-py3-none-any.whl:
Publisher:
release.yml on tss-pranavkumar/orgraph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orgraph_mcp-0.1.0-py3-none-any.whl -
Subject digest:
c928b10ffb49843d9680f9fdb6daa3d6cb5f3a0e94b0ed60553b8e2a970f1848 - Sigstore transparency entry: 1847752285
- Sigstore integration time:
-
Permalink:
tss-pranavkumar/orgraph@2c176fab84a752193e7f65d4165f877d6246519c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tss-pranavkumar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2c176fab84a752193e7f65d4165f877d6246519c -
Trigger Event:
push
-
Statement type: