GitHub Mapper MCP Server
About
Provides tools for mapping and analyzing GitHub repositories. It allows users to set a GitHub Personal Access Token and retrieve detailed information about a specified repository, including its structure and summary statistics.
Details
- Author
- dazeb
- Repository
- dazeb/MCP-Github-Mapper
- GitHub stars
- 16
- Downloads
- 385
- Categories
- Developer Tools, Other, Project Management, Productivity, Design, File Management, AI, Search, Knowledge Base, Infrastructure
- Tags
- #data
Jump to
- Set GitHub Personal Access Token for authentication
- Map and analyze GitHub repository structure
- Retrieve repository summary information (stars, forks, language, etc.)
- Provide a detailed repository file structure
Setting up with Highlight
Follow these steps to add this server as a custom Highlight plugin:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
GitHub Mapper MCP ServerCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/home/user/Documents/Cline/MCP/github-mapper/build/index.js
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
1. Start the server:
npm start
2. The server will run on stdio, allowing it to communicate with MCP clients.
To install GitHub Mapper for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install github-mapper-mcp-server --client claude
1. Clone the repository:
git clone https://github.com/your-username/github-mapper-mcp-server.git
cd github-mapper-mcp-server
2. Install dependencies:
npm install
3. Build the project:
npm run build
set-github-token
Sets the GitHub Personal Access Token for authentication.
map-github-repo
Maps a GitHub repository structure and provides summary information.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"github mapper mcp server": {
"cwd": "string",
"env": {},
"args": [
"/home/user/Documents/Cline/MCP/github-mapper/build/index.js"
],
"shell": false,
"command": "node"
}
}
}
Linux
{
"cwd": "string",
"env": [],
"args": [
"/home/user/Documents/Cline/MCP/github-mapper/build/index.js"
],
"shell": false,
"command": "node"
}
Macos
{
"cwd": "string",
"env": [],
"args": [
"/home/user/Documents/Cline/MCP/github-mapper/build/index.js"
],
"shell": false,
"command": "node"
}
Windows
{
"cwd": "string",
"env": [],
"args": [
"/home/user/Documents/Cline/MCP/github-mapper/build/index.js"
],
"shell": false,
"command": "node"
}
GitHub Mapper is a Model Context Protocol (MCP) server that provides tools for mapping and analyzing GitHub repositories. It allows users to set a GitHub Personal Access Token and retrieve detailed information about a specified repository, including its structure and summary statistics.
- Set GitHub Personal Access Token for authentication
- Map and analyze GitHub repository structure
- Retrieve repository summary information (stars, forks, language, etc.)
- Provide a detailed repository file structure
- Node.js (v18.0.0 or later recommended)
- npm (comes with Node.js)
- A GitHub Personal Access Token with appropriate permissions
To install GitHub Mapper for Claude Desktop automatically viaSmithery:
npx -y @smithery/cli install github-mapper-mcp-server --client claude
git clone https://github.com/your-username/github-mapper-mcp-server.git cd github-mapper-mcp-server
The server will run on stdio, allowing it to communicate with MCP clients.
Sets the GitHub Personal Access Token for authentication.
- Create your Personal Access Tokenhere. Choose Tokens (classic). Scopes: repo
Please set-github-token to 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
Maps a GitHub repository structure and provides summary information.
Please map-github-repo https://github.com/dazeb/MCP-Github-Mapper
Manual install in Cline or Roo-Cline MCP Client:
{ "mcpServers": { "github-mapper": { "command": "node", "args": ["/home/user/Documents/Cline/MCP/github-mapper/build/index.js"] } } }
Repository Analysis Summary: Name: Hello-World Description: My first repository on GitHub! Stars: 1234 Forks: 567 Primary Language: JavaScript Created: 2023-01-01 Last Updated: 2023-06-15 Repository Structure: { "src": { "components": { "Header.js": null, "Footer.js": null }, "pages": { "index.js": null, "about.js": null }, "styles": { "global.css": null } }, "public": { "images": { "logo.png": null }, "favicon.ico": null }, "package.json": null, "README.md": null }
The evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentation can be foundhere.
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/index.ts
- If the GitHub token is not set, you'll receive an error message prompting you to use theset-github-tokentool first.
- Invalid GitHub URLs or repository paths will result in appropriate error messages.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
Interact with GitHub repositories, including issues, pull requests, commits, releases, and actions.
Integrates with GitHub, allowing LLMs to interact with repositories, issues, and pull requests via the GitHub API.
Interact with GitHub repositories, issues, pull requests, and more. Requires a GitHub personal access token.
Interact with the GitHub API to create and manage repositories, including setting descriptions, topics, and website URLs.
An MCP server for interacting with GitHub, allowing you to manage repositories, issues, and pull requests.
Interact with the GitHub API using PyGithub to manage repositories, issues, and pull requests.
Repository analysis, issues, pull requests, and code structure exploration
A production-ready MCP server that connects any MCP-compatible AI agent to the GitHub API. Manage repositories, issues, pull requests, and search — all through natural language.
Official GitHub MCP server for repository search, issues, pull requests, code context, and GitHub workflows in MCP-compatible AI clients.
A portable MCP server for performing various GitHub operations on any repository.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





