GitHub Knowledge Graph MCP Server
@ItamarZand88
About GitHub Knowledge Graph MCP Server
MCP server for GitHub Knowledge Graph exploration and analysis
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github-knowledge-graph-mcp": {
"command": "npx",
"args": [
"github-knowledge-graph-mcp"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is GitHub Knowledge Graph MCP Server?
The GitHub Knowledge Graph MCP Server generates and interacts with knowledge graphs of GitHub repositories using the Model Context Protocol (MCP). It enables AI models to analyze and explore code repositories through a structured graph.
How to use GitHub Knowledge Graph MCP Server?
Install globally with npm install -g github-knowledge-graph-mcp, then run github-kg-mcp or npx github-knowledge-graph-mcp. Configure environment variables like MCP_PORT, MCP_HOST, MCP_DATA_DIR, and MCP_LOG_LEVEL. To integrate with Claude Desktop, run npx github-knowledge-graph-mcp install-claude.
Key features of GitHub Knowledge Graph MCP Server
- Generate knowledge graphs from GitHub repositories
- Check status and retrieve analysis results
- Navigate and explore knowledge graphs interactively
- Search nodes and get detailed node information
- Analyze dependencies and detect circular dependencies
- Get overview statistics for a knowledge graph
Use cases of GitHub Knowledge Graph MCP Server
- AI models exploring code structure and relationships in a repository
- Detecting circular dependencies in a codebase
- Analyzing dependencies and dependents of specific code nodes
- Generating structured knowledge for repository documentation or refactoring
FAQ from GitHub Knowledge Graph MCP Server
What runtime or dependencies are required?
Node.js is required. The server is installed via npm and runs as a command-line tool.
Where are knowledge graphs stored?
By default, data is stored in $HOME/.github-knowledge-graph/data, configurable via MCP_DATA_DIR.
How do I integrate with Claude Desktop?
Run npx github-knowledge-graph-mcp install-claude to automatically add the server configuration to Claude Desktop.
What transport does the server use?
The server uses the Model Context Protocol (MCP) over HTTP, with configurable host and port via MCP_PORT and MCP_HOST.
Is authentication required?
The README does not mention any authentication mechanism. The server binds to localhost by default.
Frequently asked questions
What runtime or dependencies are required?
Node.js is required. The server is installed via npm and runs as a command-line tool.
Where are knowledge graphs stored?
By default, data is stored in `$HOME/.github-knowledge-graph/data`, configurable via `MCP_DATA_DIR`.
How do I integrate with Claude Desktop?
Run `npx github-knowledge-graph-mcp install-claude` to automatically add the server configuration to Claude Desktop.
What transport does the server use?
The server uses the Model Context Protocol (MCP) over HTTP, with configurable host and port via `MCP_PORT` and `MCP_HOST`.
Is authentication required?
The README does not mention any authentication mechanism. The server binds to localhost by default.
Basic information
More Memory & Knowledge MCP servers
Mcp Knowledge Graph
shanehollomanMCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
Memlord
MyrikLDMemlord is a remote MCP server available at https://app.memlord.com.
Memory Bank MCP Server
alioshrA Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.
Solomd
zhitongblogA markdown editor — and the bridge to your LLM. Local-first, MIT, ~15 MB. Bundled MCP server lets Claude Code / Codex / Cursor drive your vault directly. 14 AI providers BYOK.
Docs MCP Server
araboldGrounded Docs MCP Server: Open-Source Alternative to Context7, Nia, and Ref.Tools
Comments