github-mcp
Provides read-only access to GitHub data including user profiles, repository information, listing user repositories, and searching repositories.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@github-mcpShow profile for user octocat"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
github-mcp
A small MCP server, built with FastMCP, that exposes read-only GitHub data as tools your AI assistant (Claude, etc.) can call.
It talks to the public GitHub REST API, so no token is required to get started — though setting one raises your rate limit.
Tools
Tool | Description |
| Public profile for a user: name, bio, followers, public repo count. |
| Info about a repo: description, stars, forks, language, open issues. |
| A user's public repos (most recently updated first). |
| Search public repos by keyword, sorted by stars. |
Related MCP server: GitHub MCP Server
Requirements
Installation
git clone https://github.com/anujsingla/github-mcp.git
cd github-mcp
poetry installConfiguration
No token is needed for basic use, but the public GitHub API allows only 60 requests/hour unauthenticated. Set a personal access token to raise the limit to 5,000/hour:
export GITHUB_TOKEN=ghp_your_token_hereRunning
poetry run python -m github_mcp.serverUsing with Claude Code
Register the server so Claude can call its tools:
claude mcp add github -- poetry run python -m github_mcp.serverThen ask things like "Look up the GitHub user octocat" or "Search GitHub for popular rust web frameworks."
Project structure
src/github_mcp/server.py # FastMCP server and tool definitions
tests/ # TestsThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/anujsingla/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server