You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Add native Claude Plugin / MCP integration for zero-setup Graphify workflows #146
+1 on this. Specific use case: token-cost reduction in agent workflows.
Currently, navigating the graph from Claude Code requires loading GRAPH_REPORT.md or raw wiki files (500–2000 tokens per lookup). An MCP server exposing deterministic tools like search_nodes(query), get_community(id), find_path(a, b) would reduce that to a single sub-200-token tool call.
python -m graphify mcp --help returns unknown command — confirming no server exists yet. This is the single highest-leverage retrieval improvement for knowledge-heavy repos.
@JoyCal000Gold the command not found might be a misconfiguration on your side. Have a look into the README and follow the instructions.
If you still have issues after that, please add here the trace logs so I can try to help you with the setup.
Hey @vimoxshah — coming over from #532 (closing that as duplicate).
I built a working implementation of pieces (1) and (3) from your proposal on a v5-rebased branch (30 unit tests + E2E smoke pass):
Auto-injection on every prompt: UserPromptSubmit hook (python3 -m graphify.auto_context) that extracts keywords from the user's prompt, queries graph.json, and injects a <graphify-context> subgraph block. Always exits 0 so a missing or broken graph never blocks the prompt.
Active MCP: graphify MCP server auto-registered in .mcp.json, so query_graph / get_neighbors / shortest_path are exposed to Claude Code without manual setup.
Both bolted onto graphify claude install as a third tier alongside the existing CLAUDE.md section + PreToolUse hint.
Given the 9+ platform footprint of _PLATFORM_CONFIG and the bash-vs-PowerShell stress already in #522 / #533, I also drafted a standalone Claude Code plugin (graphify-claude-plugin) that bundles the same three tiers via .claude-plugin/plugin.json and depends on graphifyy[mcp] from PyPI rather than living in __main__.py. Same E2E behavior, but graphify/__main__.py stops growing per integration.
Two ready-to-go paths but want @safishamsi's call before opening a PR:
PR against v5 — extends _install_claude_hook and claude_install (continues the existing per-platform pattern)
Separate plugin repo — ships via the plugin marketplace, keeps the graph layer focused on the graph itself
#326 (Kiro userPromptSubmit hook) and #425 (hierarchical context layer) suggest there's appetite in both directions. Happy to send either — just don't want to burn review cycles on a direction that doesn't match the roadmap.
Activity
JoyCal000Gold commentedon Apr 20, 2026
+1 on this. Specific use case: token-cost reduction in agent workflows.
Currently, navigating the graph from Claude Code requires loading
GRAPH_REPORT.mdor raw wiki files (500–2000 tokens per lookup). An MCP server exposing deterministic tools likesearch_nodes(query),get_community(id),find_path(a, b)would reduce that to a single sub-200-token tool call.python -m graphify mcp --helpreturnsunknown command— confirming no server exists yet. This is the single highest-leverage retrieval improvement for knowledge-heavy repos.jorge-moreira commentedon Apr 22, 2026
@JoyCal000Gold the command not found might be a misconfiguration on your side. Have a look into the README and follow the instructions.
If you still have issues after that, please add here the trace logs so I can try to help you with the setup.
serithemage commentedon Apr 24, 2026
Hey @vimoxshah — coming over from #532 (closing that as duplicate).
I built a working implementation of pieces (1) and (3) from your proposal on a
v5-rebased branch (30 unit tests + E2E smoke pass):UserPromptSubmithook (python3 -m graphify.auto_context) that extracts keywords from the user's prompt, queriesgraph.json, and injects a<graphify-context>subgraph block. Always exits 0 so a missing or broken graph never blocks the prompt..mcp.json, soquery_graph/get_neighbors/shortest_pathare exposed to Claude Code without manual setup.Both bolted onto
graphify claude installas a third tier alongside the existingCLAUDE.mdsection + PreToolUse hint.Given the 9+ platform footprint of
_PLATFORM_CONFIGand the bash-vs-PowerShell stress already in #522 / #533, I also drafted a standalone Claude Code plugin (graphify-claude-plugin) that bundles the same three tiers via.claude-plugin/plugin.jsonand depends ongraphifyy[mcp]from PyPI rather than living in__main__.py. Same E2E behavior, butgraphify/__main__.pystops growing per integration.Two ready-to-go paths but want @safishamsi's call before opening a PR:
v5— extends_install_claude_hookandclaude_install(continues the existing per-platform pattern)#326 (Kiro
userPromptSubmithook) and #425 (hierarchical context layer) suggest there's appetite in both directions. Happy to send either — just don't want to burn review cycles on a direction that doesn't match the roadmap.