MCP & Pemanggilan Tool

Graphify: Turn Any Codebase into a Queryable Knowledge Graph

graphify-labs/graphify

Graphify is a local-first CLI tool and AI assistant skill that parses codebases, docs, SQL schemas, and PDFs into a queryable knowledge graph using deterministic AST parsing, eliminating the need for vector stores or embeddings.

★ 104KBintang
⑂ 10,1KFork
860Isu terbuka
PythonBahasa
Apache-2.0Lisensi
Q@project.QualityScoreSkor editorial

Tangkapan layar proyek

Tangkapan layar Graphify: Turn Any Codebase into a Queryable Knowledge Graph Tangkapan layar Graphify: Turn Any Codebase into a Queryable Knowledge Graph

Ringkasan

Graphify transforms software projects into interactive knowledge graphs that can be queried instead of searched. By utilizing tree-sitter for deterministic AST parsing, it maps code structures, cross-file dependencies, and documentation into a graph format. It distinguishes between explicitly extracted relationships and inferred ones, providing transparency into how connections are made. The tool operates locally for code analysis, ensuring no source code leaves the developer's machine. It integrates directly into AI coding assistants via a skill system, allowing the assistant to query the graph to answer questions, trace paths between components, and explain concepts without reading raw files.

Fitur utama

  • Local deterministic AST parsing via tree-sitter
  • No vector store or embeddings required
  • Confidence tags for every edge (EXTRACTED vs. INFERRED)
  • Interactive graph.html for visual exploration
  • Cross-file link resolution across ~40 languages
  • Leiden community detection with LLM-free labels
  • Integration with 20+ AI coding assistants
  • Support for docs, PDFs, images, and video/audio mapping
  • Strict mode for AI assistants to enforce graph-first queries

Persyaratan, instalasi, dan mulai cepat

The official PyPI package is 'graphifyy' (with a double-y). It is recommended to install using 'uv': `uv tool install graphifyy`. Alternatively, use `pipx install graphifyy` or `pip install graphifyy`. After installing the package, register the skill with your AI assistant by running `graphify install`. Platform-specific installations are available (e.g., `graphify cursor install`, `graphify codex install`).

Penggunaan

After installation, navigate to your project directory and run `/graphify .` in your AI assistant (or `graphify .` in PowerShell). This generates three files in a `graphify-out/` directory: `graph.html` for visual exploration, `GRAPH_REPORT.md` for key highlights, and `graph.` for programmatic querying. You can also use CLI commands directly, such as `graphify explain "APIRouter"` to explain a concept or `graphify path "FastAPI" "ModelField"` to trace connections.

Kompatibilitas model dan kasus penggunaan

Graphify integrates with AI coding assistants including Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot, Aider, and 15+ others. For semantic passes over docs and media, it can use the assistant's model or configured API keys for OpenAI, Anthropic, Google Gemini, AWS Bedrock, Azure OpenAI, or local Ollama models.

Catatan lisensi dan risiko

Apache-2.0

Editorial verification 2026-08-09: repository URL, owner, description, license and repository statistics were reviewed. License metadata: Apache-2.0. README was fetched for the channel draft; re-check repository dependencies, releases and model terms before production use.

Rilis dan pemeliharaan

Not stated in the repository metadata

MemPalace

mempalace/mempalace

★ 58KPython

QwenPaw

agentscope-ai/qwenpaw

★ 33,9KPython

Composio

composiohq/composio

★ 29,5KTypeScript