GitHub API MCP server
Commit Nov 13, 2026Search repositories, issues, code, users, and trending repositories on GitHub.
Also known as PetrefiedThunder/mcp-github-api
- Stars
- 0
- Tools
- 6
- Downloads, 30 days
- —
- Latest version
- —
- Last commit
- Nov 13, 2026
- License
- Apache-2.0
What is GitHub API MCP?
GitHub API searches repositories, issues, code, users, and trending repositories on GitHub. It exposes 6 tools, such as search_repos, get_repo, list_issues.
Summary generated from the project's README
About GitHub API MCP server
Accessing GitHub data like repositories, issues, and user profiles directly from your AI client allows for faster development workflows. This server provides tools to search for specific code, retrieve repository details, and list issues within a project. It also includes a specialized tool to find trending repositories by scraping data from the GitHub trending page.
Developers set this up locally by adding it to their Claude Desktop configuration or running it via npx. To use the search_code tool and to increase your rate limits, you must provide a GITHUB_TOKEN through environment variables. This setup enables an AI to act as a research assistant for your codebase or for discovering new open source projects.
What you can do with it
- 1Discovering popular new projectsAsk your AI to find the most popular repositories currently trending on GitHub.
- 2Investigating repository issuesRequest a summary of all open issues within a specific GitHub repository.
- 3Searching for specific code snippetsHave the AI search through GitHub code to find specific implementations or patterns.
- 4Retrieving user profile informationGet detailed profile information for a specific GitHub user.
Written from the project's README. Every use case is checked against a quote from it.
GitHub API MCP tools 6
Detected from the READMEsearch_reposget_repolist_issuesget_usersearch_codeget_trending
Configuration
GITHUB_TOKEN
Automated checks
Ran Nov 15, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachablepetrefiedthunder/mcp-github-api is public and reachablegithub.com/petrefiedthunder/mcp-github-api ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-11-13github.com/petrefiedthunder/mcp-github-api ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model6 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNo tool named like delete, drop or execPass
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHubmcp-github-api
Search repositories, issues, code, users, and trending repos on GitHub.
Tools
| Tool | Description |
|---|---|
search_repos |
Search GitHub repositories. |
get_repo |
Get repository details. |
list_issues |
List repository issues. |
get_user |
Get GitHub user profile. |
search_code |
Search code across GitHub (requires auth). |
get_trending |
Get trending repositories (scrapes GitHub trending page data via search). |
Configuration
| Variable | Required | Description |
|---|---|---|
GITHUB_TOKEN |
Yes | GitHub personal access token (optional, increases rate limit) |
Installation
git clone https://github.com/PetrefiedThunder/mcp-github-api.git
cd mcp-github-api
npm install
npm run build
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"github-api": {
"command": "node",
"args": ["/path/to/mcp-github-api/dist/index.js"],
"env": {
"GITHUB_TOKEN": "your-github-token"
}
}
}
}
Usage with npx
npx mcp-github-api
License
Apache-2.0
GitHub API MCP questions
What tools does GitHub API MCP provide?
It exposes 6 tools, including search_repos, get_repo, list_issues, get_user, search_code.
Do I need a GitHub token to use this?
A GITHUB_TOKEN is required for configuration, and providing a personal access token increases your rate limit.