
Github
io.github.davidweb3-ctrlPublished by GitHub account davidweb3-ctrlv1.0.0Updated Oct 24, 2026
GitHub MCP Server - List PRs, issues, repo info, and search code
Overview
A local MCP server that lets an AI assistant read GitHub repositories: list and view pull requests and issues, get repo info, and search code.
- What you can do
- List and view pull requests, with filters for state, head and base branch, sorting and paging, and optionally include the diff of a single PR. List and view issues, filtering by state, labels, assignee and creator, and optionally include comments. Get repository information and statistics for a given owner and repo. Search code across GitHub using GitHub code search syntax, with sorting and paging.
- When to use it
- Useful when you want an assistant to look up GitHub activity while working: reviewing open pull requests, reading an issue thread, checking repository metadata, or finding code examples across GitHub. It is read-only, so it suits inspection and research rather than making changes to repositories.
- Requirements
- Runs as a local process via npm (npx or a global install). Requires a GitHub Personal Access Token supplied in the GITHUB_TOKEN environment variable, and network access to the GitHub API.
Installation
In SourceWeft
- Open Github in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
GitHub MCP Server
A Model Context Protocol (MCP) server for GitHub operations. This server enables AI assistants to interact with GitHub repositories through a standardized interface.
Features
- 🔍 List & View Pull Requests - Browse PRs with filtering options
- 📋 List & View Issues - Access issues with labels, assignees, and comments
- 📊 Repository Info - Get repository statistics and metadata
- 🔎 Code Search - Search code across GitHub repositories
Installation
Configuration
Set your GitHub token as an environment variable:
Or pass it when creating the client programmatically.
Usage with Claude Code
Add to your Claude Code MCP settings:
Available Tools
1. github_pr_list
List pull requests for a repository.
Input:
owner(string, required): Repository ownerrepo(string, required): Repository namestate(enum, optional): Filter by state (open,closed,all)head(string, optional): Filter by head branchbase(string, optional): Filter by base branchsort(enum, optional): Sort fielddirection(enum, optional): Sort directionper_page(number, optional): Results per page (max 100)page(number, optional): Page number
2. github_pr_view
View details of a specific pull request.
Input:
owner(string, required): Repository ownerrepo(string, required): Repository namepull_number(number, required): PR numberinclude_diff(boolean, optional): Include diff content
3. github_issue_list
List issues for a repository.
Input:
owner(string, required): Repository ownerrepo(string, required): Repository namestate(enum, optional): Filter by statelabels(string, optional): Comma-separated label namesassignee(string, optional): Filter by assigneecreator(string, optional): Filter by creatorsort(enum, optional): Sort fielddirection(enum, optional): Sort directionper_page(number, optional): Results per pagepage(number, optional): Page number
4. github_issue_view
View details of a specific issue.
Input:
owner(string, required): Repository ownerrepo(string, required): Repository nameissue_number(number, required): Issue numberinclude_comments(boolean, optional): Include comments
5. github_repo_info
Get repository information and statistics.
Input:
owner(string, required): Repository ownerrepo(string, required): Repository name
6. github_search_code
Search code across GitHub.
Input:
query(string, required): Search query (GitHub code search syntax)sort(enum, optional): Sort field (indexed,best-match)order(enum, optional): Sort orderper_page(number, optional): Results per pagepage(number, optional): Page number
Example Queries
Development
Testing
The project includes comprehensive unit tests with 90%+ coverage:
- GitHub API client tests
- Tool handler tests for all 6 tools
- Error handling tests
- Input validation tests
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Built with 🦞 by BountyClaw
Source: README.md at commit 361f6bc
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts