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 integrating with and managing Subversion (SVN) repositories, enabling AI agents to perform version control tasks.
An MCP server for Bitbucket that provides pull request context to LLMs for automated code reviews.
Interact with GitHub repositories, issues, pull requests, and more. Requires a GitHub personal access token.
Interact with the GitHub API for file operations, repository management, and search.
A CLI for interacting with GitKraken APIs. Includes an MCP server via `gk mcp` that not only wraps GitKraken APIs, but also Jira, GitHub, GitLab, and more.
An MCP server for interacting with and automating Git repositories using Large Language Models.
Gitee API integration, repository, issue, and pull request management, and more.
Integrates with GitHub APIs for advanced automation and interaction, supporting both remote and local deployments.
Integrates with the GitLab REST API to manage repositories, issues, and merge requests.
Integrate with the GitHub Enterprise API to access repositories, issues, pull requests, and workflows.