devscope-mcp
Provides tools for working with the GitHub API on the user's behalf: summarizing pull requests (changed files, diffs, comments, review stats), listing and filtering issues by state, exploring repositories for a user or org with metadata and stats, running code searches with optional repo scoping, computing per-contributor statistics (commits, lines added/deleted, active weeks), and generating a 7-day activity digest of merged PRs, opened issues, and top contributors.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
devscope-mcp
An MCP server that gives Claude live access to your GitHub workspace — PR reviews, issue triaging, repo search, and weekly digest reports through natural language.
Built on the Model Context Protocol (MCP), devscope-mcp plugs directly into Claude Desktop (or any MCP-compatible client) and lets you work with GitHub without ever leaving the conversation.
Features
PR Summaries — full diff metadata, comments, and review stats for any pull request
Issue Triage — list and filter open/closed issues across any repository
Repo Explorer — browse repos for a user or org, with stats at a glance
Code Search — GitHub code-search with optional repo scoping
Contributor Stats — commit volume, lines changed, and active weeks per contributor
Weekly Digest — merged PRs, opened issues, and top contributors for the past 7 days
Related MCP server: github-analyzer-mcp
Tech Stack
Layer | Technology |
Protocol | Model Context Protocol ( |
GitHub API | PyGithub |
HTTP client | httpx |
Config | python-dotenv |
Runtime | Python 3.11+ |
Tests | pytest 8, pytest-asyncio, pytest-mock |
Build | Hatchling via |
Setup
1. Prerequisites
Python 3.11 or later
A GitHub Personal Access Token with the following scopes:
repo(full repository access)read:orgread:user
2. Clone and install
git clone https://github.com/your-user/devscope-mcp.git
cd devscope-mcp
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"3. Configure environment
cp .env.example .env
# edit .env and set GITHUB_TOKEN (and optionally GITHUB_DEFAULT_ORG)4. Add to Claude Desktop
Open your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the devscope-mcp entry to mcpServers:
{
"mcpServers": {
"devscope-mcp": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "/absolute/path/to/devscope-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token_here",
"GITHUB_DEFAULT_ORG": "your-org-name"
}
}
}
}If you installed with pip install -e ., you can use the console script instead:
{
"mcpServers": {
"devscope-mcp": {
"command": "devscope-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token_here",
"GITHUB_DEFAULT_ORG": "your-org-name"
}
}
}
}Restart Claude Desktop. You should see the devscope-mcp tools available in the tools menu.
Available Tools
Tool | Description |
| List repositories for a GitHub org or authenticated user, sorted by last push |
| Detailed metadata for a single repo (language, stars, forks, topics, etc.) |
| Full summary of a pull request including changed files, comments, and deltas |
| List issues with state filter (open / closed / all) and configurable limit |
| GitHub code search with optional repo scope |
| Per-contributor commit count, lines added/deleted, and active weeks |
| 7-day activity digest: merged PRs, opened issues, top contributors |
Example Prompts
"Summarise the last 5 PRs in my repo"
"List all open issues in peteroyce/devscope-mcp labelled 'bug'"
"Show me the weekly digest for the myorg/backend repository"
"Who are the top contributors to myorg/frontend this week?"
"Search for usages of
authenticate_useracross the myorg/api repo"
"Give me the full diff and comments for PR #47 in myorg/payments"
"List all repos in the myorg organisation sorted by most recently active"
Running Tests
pytest -vTests mock all PyGithub calls so no real GitHub token is required.
Project Structure
devscope-mcp/
├── src/
│ ├── __init__.py
│ ├── github_client.py # PyGithub wrapper — all GitHub logic lives here
│ └── server.py # MCP server — tool definitions, dispatch, formatting
├── tests/
│ └── test_github_client.py
├── .env.example
├── .gitignore
├── pyproject.toml
└── README.mdLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceConnects Claude Desktop to GitHub repositories, enabling users to perform git operations and GitHub API interactions through natural conversation.330 npm-
- AlicenseNot gradedqualityDmaintenanceEnables Claude to analyze GitHub repositories with tools for health scoring, contributor analysis, issue tracking, code search, and more.MIT
- AlicenseAqualityDmaintenanceConnects Claude to GitHub activity to generate standup summaries of commits, PRs, reviews, and issues for individuals or teams.336 npmMIT
- AlicenseNot gradedqualityDmaintenanceConnects Claude to GitHub repositories for querying repos, reviewing PRs, managing issues, searching code, and automating workflows.MIT