GitHub MCP Lightweight
About
A lightweight server for analyzing GitHub issues and pull requests using a Personal Access Token.
Details
- Author
- wipiano
- Categories
- Developer Tools, Other
Jump to
Setup
Install GitHub MCP Lightweight in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/wipiano/github-mcp-lw
Follow the installation instructions in the repository README, then restart your MCP client.
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.
- Lightweight responses: 90%+ smaller than full GitHub API responses
- Essential data only: Returns only id, html_url, title, body, and comment bodies
- Efficient bulk analysis: Optimized for processing large numbers of issues/PRs
- Simple setup: Easy installation and configuration
- Rate limit aware: Built-in GitHub API rate limiting awareness
npm install -g @wipiano/github-mcp-lightweight
- repo(for private repositories) orpublic_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 issues from a GitHub repository with minimal response size.
- owner(string, required): Repository owner (username or organization)
- repo(string, required): Repository name
- since(string, required): Only show issues updated at or after this time (ISO 8601 format)
{ "owner": "microsoft", "repo": "vscode", "since": "2024-01-01T00:00:00Z" }
List pull requests from a GitHub repository with minimal response size.
- owner(string, required): Repository owner (username or organization)
- repo(string, required): Repository name
- since(string, required): Only show pull requests updated at or after this time (ISO 8601 format)
{ "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..." ] } ] }
The server provides clear error messages for common issues:
- 401 Unauthorized: Invalid or expired GitHub token
- 403 Forbidden: Rate limit exceeded or insufficient permissions
- 404 Not Found: Repository not found or access denied
- Token Storage: Store your GitHub token securely in environment variables
- Token Permissions: Use minimal required scopes for your use case
- Token Rotation: Regularly rotate your personal access tokens
- Environment Isolation: Use different tokens for different environments
- GitHub allows 5,000 requests per hour for authenticated requests
- The server is aware of rate limits and will provide appropriate error messages
- For large repositories, consider using more specificsinceparameters to reduce API calls
- VerifyGITHUB_TOKENenvironment variable is set
- Check token permissions include required scopes
- Ensure token is not expired
- Regenerate your GitHub personal access token
- Verify token has access to the target repository
- Check if repository is private and token hasreposcope
- Verify repository exists and is accessible
- Checksinceparameter isn't too recent
- Ensure repository has issues/PRs updated after thesincedate
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - seeLICENSEfile for details.
- GitHub Repository
- npm Package
- Model Context Protocol
- GitHub API Documentation
A portable MCP server for performing various GitHub operations on any repository.
A server for managing and interacting with GitHub Gists, built with Go.
Interact with GitHub APIs for automation and repository management.
Interact with GitHub repositories, including issues, pull requests, commits, releases, and actions.
Manage GitHub repositories using a personal access token via CLI or environment variables.
Interact with the GitHub API for repository management, file operations, and search.
Interact with GitHub repositories, including file operations, repository management, and search.
Query and interact with the GitHub GraphQL API. Requires a personal access token.
Provides tools for mapping and analyzing GitHub repositories using a Personal Access Token for authentication.
Integrates with GitHub, allowing LLMs to interact with repositories, issues, and pull requests via the GitHub API.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





