
Graphify
github.com/safishamsi/graphify- Category
- Developer Tools
- Rank
- No. 36Tools index
- Pricing
- Open Source
- Type
- TOOL
- Builder
- safishamsi
- GitHub
- 115.8k stars
- Latest release
- v0.9.56
- Date
About
Turn any codebase, docs, or media files into a queryable knowledge graph that integrates with AI coding assistants. Maps project structure, relationships, and dependencies into an interactive visual graph you can search instead of grepping through files.
What it does
Graphify runs a staged analysis pipeline. It parses code locally, transcribes audio and video locally when configured, and uses model-backed semantic extraction for documents and images. It combines the results in a NetworkX graph, detects related subsystems, labels relationship confidence, and produces browser, report, and JSON outputs.
Why it's ranked here
The strongest case is its inspectable structure. Code analysis is deterministic and local, relationships distinguish extracted facts from inference, and cached results avoid repeating unchanged work. The persistent graph supports focused questions and connection tracing. Its value rises with larger, mixed corpora, while tiny projects may gain little compression.
What's good
Graphify separates source-backed relationships from inferred and ambiguous ones, including confidence scores for inference. It extracts imports, calls, inheritance, comments, and design rationale without sending normal code analysis to a model. Content hashes support incremental reruns. Community detection uses graph topology instead of requiring embeddings or a vector database.
Tradeoffs
Documents, papers, images, and transcripts require a semantic pass that costs model tokens and may send content to a configured backend. Media, office formats, databases, and MCP support require optional dependencies. The documented small-corpus benchmark showed roughly no token reduction. Background, continuously updating coverage is described as a separate platform offering.
How to use it well
Use Graphify when onboarding to a substantial repository, tracing dependencies, or connecting code with architecture notes, papers, and media. Build once, then use scoped questions, path tracing, and node explanations before opening raw sources. Keep confidence labels visible during investigation. It does not replace an always-on knowledge service or eliminate model use for non-code material.
Technical notes+
pyproject.toml defines the graphifyy Python package for Python 3.10+, setuptools packaging, the graphify entry point at graphify.__main__:main, and the optional graphify-mcp entry point at graphify.serve:_main. Core dependencies include NetworkX, NumPy, RapidFuzz, tree-sitter, and numerous language grammars; extras cover MCP, Neo4j, FalkorDB, PostgreSQL, PDF, Office, video, model providers, and more. docs/how-it-works.md specifies three passes, SHA256 caching, multiprocessing for code extraction, NetworkX node-link output, Leiden clustering, and three confidence classes. README.md documents interactive HTML, Markdown report, and JSON artifacts. docs/node-summaries-rfc.md describes file-level summaries as a proposal, not an implemented default.
Observed
- License
- Apache-2.0 is declared in the package metadata.
- Primary language
- Python, with Python 3.10 or newer required.
- Packaging
- Published as the graphifyy PyPI package using setuptools.
- Install surface
- Documented installation methods are uv tool, pipx, and pip.
- Interfaces
- Provides a graphify CLI and an optional graphify-mcp server entry point.
- Platform support
- Installation guidance covers macOS, Windows, and Ubuntu or Debian.
- Core outputs
- Produces interactive HTML, a Markdown report, and NetworkX node-link JSON.
- Test configuration
- Pytest is configured with tests as its test path.
Read from README.md, pyproject.toml, docs/how-it-works.md, docs/docker-mcp-sqlite.md, docs/node-summaries-rfc.md, docs/translations/README.ar-SA.md, docs/translations/README.cs-CZ.md, docs/translations/README.da-DK.md, docs/translations/README.de-DE.md, docs/translations/README.el-GR.md, docs/translations/README.es-ES.md, docs/translations/README.fa-IR.md.
What it can do
Analyze codebase structure and dependencies
Source code files and directories → Mapped project structure with relationships and dependencies
Convert codebase into knowledge graph
Codebase files, documentation, and media files → Interactive visual knowledge graph
Search code relationships visually
Search queries and graph navigation commands → Visual results showing connected code elements and dependencies
Integrate with AI coding assistants
Knowledge graph data and AI assistant context → Enhanced AI responses with project structure awareness
Query project information without file searching
Natural language queries about codebase → Relevant code sections and relationships from knowledge graph
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.