CodeGraphContext
CodeGraphContext is an MCP server, listed under databases. It reaches neo4j. It needs NEO4J_PASSWORD to authenticate. Its repository has 4,354 GitHub stars and is licensed under MIT; we last read it on 2026-10-26.
This tool indexes local code into a graph database, connecting to an MCP server, to provide context to AI assistants.
Install
Read from CodeGraphContext’s own README, close to verbatim -- not written by us, and not guessed.
pip install codegraphcontext
What it reaches, and what it needs
Reaches
neo4j
Credential
NEO4J_PASSWORD
Maintenance
Stars
4354
State
listed
Licence
MIT
From the repository
An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.
CodeGraphContext compared with similar servers
| Server | Reaches | Needs | Stars | Last update | Licence |
|---|---|---|---|---|---|
| CodeGraphContext (this page) | neo4j | NEO4J_PASSWORD | 4,354 | 2026-10-22 | MIT |
| atlas-mcp-server | neo4j(1 shared) | MCP_AUTH_SECRET_KEY, NEO4J_PASSWORD | 478 | 2025-07-22 | Apache-2.0 |
| mcp | neo4j(1 shared) | NEO4J_MCP_PASSWORD | 300 | 2026-10-22 | NOASSERTION |
| mcp-neo4j-memory-server | neo4j(1 shared) | NEO4J_PASSWORD | 23 | 2025-03-15 | MIT |
| claude-code-memory | neo4j(1 shared) | NEO4J_PASSWORD | 11 | 2025-06-28 | — |
| KnowledgeGraph-MCP | neo4j(1 shared) | NEO4J_PASSWORD | 1 | 2025-07-02 | — |
Ranked by services in common with CodeGraphContext, then by stars. Figures are from each repository when we last read it.
Common questions about CodeGraphContext
- What does CodeGraphContext do?
- This tool indexes local code into a graph database, connecting to an MCP server, to provide context to AI assistants.
- How do I install CodeGraphContext?
- Its own README gives this command: pip install codegraphcontext. Run it where your MCP client can launch the server, and check the README for any settings it asks for.
- What does CodeGraphContext connect to, and what does it need?
- It reaches neo4j. The credentials we found in its source are NEO4J_PASSWORD.
- Is CodeGraphContext official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 4,354 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-22.
- What licence does CodeGraphContext use?
- The repository declares the MIT licence.
More MCP servers for databases
- dbhub3,702 stars
- mcp-server-mysql2,173 stars
- mysql_mcp_server1,402 stars
- server874 stars
- supabase-mcp-server833 stars
- atlas-mcp-server478 stars