Graphify

data-ai MCP Server

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

Verified
data-aidata-ai
18 views93,802 stars9,093 forksMIT

Why This Matters

Discovered via github-topic:mcp and last synced 2mo ago.

Verified
Source
github-topic:mcp
Stars
93,802
Last synced
2mo ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
78
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (78)

Capability

What you get

Benchmark

Metric

Requirement

Minimum

Python

3.10+

any

`pipx --version`

Platform

Command

CodeBuddy

`graphify codebuddy install`

Codex

`graphify codex install`

OpenCode

`graphify opencode install`

Aider

`graphify aider install`

OpenClaw

`graphify claw install`

Trae

`graphify trae install`

Hermes

`graphify hermes install`

Amp

`graphify amp install`

Cursor

`graphify cursor install`

Extra

What it adds

pdf

PDF extraction

office

`.docx` and `.xlsx` support

google

Google Sheets rendering

video

Video/audio transcription (faster-whisper + yt-dlp)

mcp

MCP stdio server

neo4j

Neo4j push support

falkordb

FalkorDB push support

svg

SVG graph export

leiden

Leiden community detection (Python < 3.13 only)

ollama

Ollama local inference

openai

OpenAI / OpenAI-compatible APIs

gemini

Google Gemini API

anthropic

Anthropic Claude API (`--backend claude`, uses `ANTHROPIC_API_KEY`)

bedrock

AWS Bedrock (uses IAM, no API key)

azure

Azure OpenAI Service (`--backend azure`, uses `AZURE_OPENAI_API_KEY` + `AZURE_OPENAI_ENDPOINT`)

sql

SQL schema extraction

postgres

Live PostgreSQL introspection (`--postgres DSN`)

dm

BYOND DreamMaker `.dm`/`.dme` AST extraction (may need a C compiler + `python3-dev` if no wheel matches your platform)

terraform

Terraform / HCL `.tf`/`.tfvars`/`.hcl` AST extraction

pascal

Pascal / Delphi `.pas`/`.dpr`/`.dpk`/`.inc` AST extraction (more accurate `calls`/`inherits` edges; falls back to a regex extractor when absent)

chinese

Chinese query segmentation (jieba)

off

No per-session state (for load-balanced / CI deployments)

DEEPSEEK_API_KEY

DeepSeek backend

GRAPHIFY_MAX_OUTPUT_TOKENS

Raise output cap for dense corpora

GRAPHIFY_QUERY_LOG_RESPONSES

When the log is enabled, also record full subgraph responses (off by default)

all

Everything above

MOONSHOT_API_KEY

Kimi Code backend

GRAPHIFY_API_TIMEOUT

Per-call timeout in seconds for HTTP, claude-cli, and Anthropic SDK backends (default: 600)

GRAPHIFY_MAX_GRAPH_BYTES

Override the 512 MiB graph.json size cap — e.g. `700MB`, `2GB`, or plain bytes

Type

Extensions

3600

Reap idle stateful sessions after N seconds (`0` disables)

OLLAMA_BASE_URL

Ollama local inference URL

GRAPHIFY_MAX_RETRIES

How many times to retry a rate-limited (429) request before giving up (default: 6; honors `Retry-After`)

GRAPHIFY_LLM_TEMPERATURE

Override LLM temperature for semantic extraction — e.g. `0.7`, or `none` to omit

Docs

`.md .mdx .qmd .html .txt .rst .yaml .yml` (markdown `[text](./other.md)` links and `[[wikilinks]]` become `references` edges between docs)

Variable

Used for

OLLAMA_MODEL

Ollama model name

GRAPHIFY_FORCE

Force graph rebuild even with fewer nodes

Office

`.docx .xlsx` (requires `uv tool install graphifyy[office]`)

ANTHROPIC_API_KEY

Claude (Anthropic) backend

GRAPHIFY_OLLAMA_NUM_CTX

Override Ollama KV-cache window size

GRAPHIFY_GOOGLE_WORKSPACE

Auto-enable Google Workspace export

PDFs

`.pdf`

ANTHROPIC_BASE_URL

Anthropic-compatible endpoint URL (LiteLLM proxy, gateways, ...)

GRAPHIFY_OLLAMA_KEEP_ALIVE

Minutes to keep Ollama model loaded

GRAPHIFY_TRIAGE_BACKEND

Backend for `graphify prs --triage`

Images

`.png .jpg .webp .gif`

ANTHROPIC_MODEL

Model name for the Claude backend — for custom endpoints, use the model name/alias your server exposes

AZURE_OPENAI_API_KEY

Azure OpenAI Service backend

GRAPHIFY_TRIAGE_MODEL

Model override for triage

Flag

Default

OPENAI_API_KEY

OpenAI or OpenAI-compatible APIs

AZURE_OPENAI_ENDPOINT

Azure resource endpoint URL

GRAPHIFY_QUERY_LOG_ENABLE

Set to `1` to turn on the local query log at `~/.cache/graphify-queries.log` (records each query/path/explain question + corpus path). Off by default — nothing is written unless you opt in (#1797)

stdio

Transport to serve on

OPENAI_BASE_URL

OpenAI-compatible server URL (llama.cpp, vLLM, LM Studio, ...)

AZURE_OPENAI_API_VERSION

Azure API version override

GRAPHIFY_QUERY_LOG

Enable the query log and write it to this path instead of the default

8080

HTTP bind port

OPENAI_MODEL

Model name for the OpenAI backend — for self-hosted servers, use the model name/alias your server exposes (check its `/v1/models` endpoint), e.g. `LFM2.5-8B-A1B-UD-Q4_K_XL` for llama.cpp

GRAPHIFY_MAX_WORKERS

AST parallelism thread count

GRAPHIFY_QUERY_LOG_DISABLE

Set to `1` to force the query log off (wins over the enable vars)