AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Code Knowledge Graph

mcp-ishandutta2007-code-knowledge-graph Β· by ishandutta2007

GKG is Pre-indexed code knowledge graph for Claude Code, Codex, Cursor, OpenCode, and Hermes Agent β€” to save πŸ’°πŸ’², 🌟 Star if you like it! 🌟

β€” No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add mcp-ishandutta2007-code-knowledge-graph

βœ“ scanned Β· βœ“ verified, works with Claude Code, Cursor, and more.

Security review

βœ“ Passed

No issues found. Passed automated security review. Β· v0.1.0 How review works β†’

  • βœ“ Prompt-injection patterns
  • βœ“ Secret / credential exfiltration
  • βœ“ Dangerous shell & filesystem operations
  • βœ“ Untrusted network calls
  • βœ“ Known-malicious package signatures

What it can access

  • βœ“ Network access No
  • βœ“ Filesystem access No
  • βœ“ Shell / process execution No
  • βœ“ Environment & secrets No
  • βœ“ Dynamic code execution No

From automated source analysis of v0.1.0. β€œUsed” means the capability is present in the source β€” more access means more to trust, not that it’s unsafe.

View the full security report β†’

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-ishandutta2007-code-knowledge-graph)

Reliability & compatibility

βœ“ Security review passed
0 installs to date
β€” no reviews yet
● 23d ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work β†’
Are you the author of Code Knowledge Graph? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

🧠 Code Knowledge Graph (GKG)

The Pre-indexed Intelligence Layer for your AI Agents

[](https://opensource.org/licenses/MIT) [](#) [](#) [](http://makeapullrequest.com)


πŸš€ Stop Wasting Tokens. Start Coding Faster.

Code-Knowledge-Graph is a high-performance, local indexing engine that maps your codebase into a structured graph. It allows AI agents to understand your project instantly without exhaustive file crawling.

[Features](#-key-features) β€’ [Getting Started](#-quick-start) β€’ [Supported Agents](#-agent-compatibility) β€’ [Why Graph?](#-why-code-knowledge-graph)


✨ Key Features

  • πŸ—οΈ Graph-Based Indexing: Transforms flat files into a rich semantic network of classes, functions, and dependencies.
  • πŸ“‰ Token Optimization: Drastically reduces the "context window tax" by providing surgical code snippets instead of full-file dumps.
  • ⚑ Zero Latency: 100% local processing. No API calls required for indexing.
  • πŸ€– Agent Ready: Native support for Claude Code, Codex, Cursor, OpenCode, and Hermes Agent.
  • πŸ›‘οΈ Privacy First: Your code never leaves your machine.

πŸ“½οΈ Demo

Example: Rapidly mapping a 100k LOC repository in seconds.


🧩 Agent Compatibility

| Agent | Support Level | Integration Method | | :--- | :---: | :--- | | Claude Code | πŸ’Ž Full | Custom Tool / Hook | | Cursor | βœ… Native | .cursorrules / Indexing | | Codex | βœ… High | Plugin | | OpenCode | πŸ› οΈ Beta | API Bridge | | Hermes Agent | πŸš€ Optimized | Native Protocol |


πŸ› οΈ Quick Start

1. Installation

# Clone the repository
git clone https://github.com/ishandutta2007/Code-Knowledge-Graph.git

# Navigate to the directory
cd Code-Knowledge-Graph

# Install dependencies
npm install

2. Index your codebase

npm run ckg -- index ./path/to/your/project

3. Query the graph

npm run ckg -- query SymbolName

4. Run the MCP Server

To use this with Claude Code or other MCP-compatible agents:

npm run mcp

Then add it to your agent's config (e.g., in claude_desktop_config.json):

{
  "mcpServers": {
    "code-knowledge-graph": {
      "command": "node",
      "args": ["--loader", "ts-node/esm", "C:/path/to/Code-Knowledge-Graph/src/index.ts", "mcp"],
      "cwd": "C:/path/to/Code-Knowledge-Graph"
    }
  }
}

πŸ“ˆ Why Code Knowledge Graph?

Traditional AI agents spend ~40% of their tokens just trying to find where a function is defined. By providing a pre-indexed graph, we flip the script:

| Metric | Without CKG | With CKG | Improvement | | :--- | :--- | :--- | :--- | | Initial Context Load | 15,000 Tokens | 1,200 Tokens | 92% Reduction | | Tool Call Latency | 5-10s |

Built with ❀️ for the AI Engineering Community.

[](https://twitter.com/ishandutta2007)

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source β€” we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.