A lightweight server for analyzing GitHub issues and pull requests using a Personal Access Token.
A lightweight GitHub MCP (Model Context Protocol) server optimized for efficient issue and pull request analysis. This server provides minimal response sizes by returning only essential fields, making it perfect for bulk analysis of GitHub repositories.
npm install -g @wipiano/github-mcp-lightweight
repo
(for private repositories) or public_repo
(for public repositories only)read:org
(if accessing organization repositories)Add the server to your MCP settings configuration file:
For Cline/Claude Dev:
Edit ~/.vscode-server/data/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
:
{
"mcpServers": {
"github-lightweight": {
"command": "npx",
"type": "stdio",
"args": [
"-y",
"@wipiano/github-mcp-lightweight"
],
"env": {
"GITHUB_TOKEN": "ghp_your_personal_access_token_here"
}
}
}
}
For Claude Desktop:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or equivalent:
{
"mcpServers": {
"github-lightweight": {
"command": "github-mcp-lightweight",
"env": {
"GITHUB_TOKEN": "ghp_your_personal_access_token_here"
}
}
}
}
list_repository_issues
List issues from a GitHub repository with minimal response size.
Parameters:
owner
(string, required): Repository owner (username or organization)repo
(string, required): Repository namesince
(string, required): Only show issues updated at or after this time (ISO 8601 format)Example:
{
"owner": "microsoft",
"repo": "vscode",
"since": "2024-01-01T00:00:00Z"
}
list_repository_pull_requests
List pull requests from a GitHub repository with minimal response size.
Parameters:
owner
(string, required): Repository owner (username or organization)repo
(string, required): Repository namesince
(string, required): Only show pull requests updated at or after this time (ISO 8601 format)Example:
{
"owner": "microsoft",
"repo": "vscode",
"since": "2024-01-01T00:00:00Z"
}
Both tools return a lightweight response containing only essential fields:
{
"repository": "owner/repo",
"since": "2024-01-01T00:00:00Z",
"total_issues": 42,
"issues": [
{
"id": 123456789,
"html_url": "https://github.com/owner/repo/issues/1",
"title": "Issue title",
"body": "Issue description...",
"comments": [
"First comment body...",
"Second comment body..."
]
}
]
}
Feature | Full GitHub MCP | Lightweight MCP |
---|---|---|
Response size | ~50+ fields per issue | 5 fields per issue |
Bandwidth usage | High | Low (90%+ reduction) |
Processing speed | Slower | Faster |
Use case | Comprehensive operations | Bulk analysis |
Comment data | Full metadata | Body text only |
The server provides clear error messages for common issues:
since
parameters to reduce API callsGITHUB_TOKEN
environment variable is setrepo
scopesince
parameter isn't too recentsince
dateContributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details.
An MCP server for Bitbucket that provides pull request context to LLMs for automated code reviews.
A GitLab integration server providing access to GitLab's RESTful API tools, built on the fastmcp framework.
Interact with the GitHub API using PyGithub to manage repositories, issues, and pull requests.
An MCP server for interacting with the AtomGit API for version control and code hosting.
Manage GitHub projects with requirements traceability and advanced workflows.
Allows AI assistants to interact with the GitHub API for repository management, code collaboration, and other development tasks.
AI-powered GitHub project management with complete requirements traceability.
Make git commits on behalf of AI to track AI contributions in your codebase.
An MCP server for integrating with and managing Subversion (SVN) repositories, enabling AI agents to perform version control tasks.
Integrates with the git-mob CLI to manage Git co-authors.