MCP.so
Sign In

GitHub Knowledge Graph MCP Server

@ItamarZand88

Basic information

Category

Memory & Knowledge

Transports

stdio

Author

ItamarZand88

About GitHub Knowledge Graph MCP Server

MCP server for GitHub Knowledge Graph exploration and analysis

GitHub Knowledge Graph MCP Server 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"
      ]
    }
  }
}

GitHub Knowledge Graph MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

1

What runtime or dependencies are required?

Node.js is required. The server is installed via npm and runs as a command-line tool.

2

Where are knowledge graphs stored?

By default, data is stored in `$HOME/.github-knowledge-graph/data`, configurable via `MCP_DATA_DIR`.

3

How do I integrate with Claude Desktop?

Run `npx github-knowledge-graph-mcp install-claude` to automatically add the server configuration to Claude Desktop.

4

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`.

5

Is authentication required?

The README does not mention any authentication mechanism. The server binds to localhost by default.

Comments

More Memory & Knowledge MCP servers