Skip to main content
Glama
anujsingla

github-mcp

by anujsingla

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

get_github_user

Public profile for a user: name, bio, followers, public repo count.

get_github_repo

Info about a repo: description, stars, forks, language, open issues.

list_user_repos

A user's public repos (most recently updated first).

search_github_repos

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 install

Configuration

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_here

Running

poetry run python -m github_mcp.server

Using with Claude Code

Register the server so Claude can call its tools:

claude mcp add github -- poetry run python -m github_mcp.server

Then 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/                     # Tests
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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