GitHub Repository Health MCP
Provides tools for retrieving GitHub repository metadata, open issues, and recent commits to assess repository health.
Provides tools for retrieving recent GitHub Actions workflow runs, including their statuses and conclusions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub Repository Health MCPHow healthy is the modelcontextprotocol/python-sdk repo right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub Repository Health MCP
A real-time GitHub repository health assistant built with the Model Context Protocol, LangChain 1.x, and Groq.
The agent can summarize repository activity, open issues, recent commits, and GitHub Actions workflow health using live GitHub API data.
Project Structure
MCP-Project1/
├── src/
│ └── github_repo_health/
│ ├── __init__.py # Package metadata
│ ├── config.py # Environment-backed settings
│ ├── github_api.py # GitHub REST client and data shaping
│ ├── mcp_server.py # MCP tools, resources, and prompts
│ └── agent.py # LangChain + Groq application client
├── tests/
│ └── test_github_api.py # Fast unit tests for API helpers
├── .env.example # Configuration template
├── pyproject.toml # Dependencies and console entry points
├── uv.lock # Reproducible dependency lockfile
└── README.mdThe separation keeps responsibilities small:
github_api.pyknows how to call GitHub.mcp_server.pyexposes GitHub capabilities through MCP.agent.pydecides whether to use MCP or call Groq directly.tests/verifies pure helper behavior without network calls.
Related MCP server: GitHub Health Monitor MCP
MCP Capabilities
Tools
Tool | Purpose |
| Repository metadata, stars, forks, language, branch, and issue count. |
| Current open issues, excluding pull requests. |
| Recent commit messages, authors, dates, and links. |
| Recent GitHub Actions statuses and conclusions. |
Resources
Resource | Purpose |
| Live health snapshot combining repository metadata, issues, and workflows. |
| Current open issues as JSON. |
Prompts
Prompt | Purpose |
| Produces a repository health report with risks and recommended actions. |
| Groups and prioritizes current open issues. |
The first version is read-only. It does not create, modify, close, or label GitHub issues.
Setup
Install dependencies:
uv syncCreate local configuration:
Copy-Item .env.example .envSet these values in .env:
GROQ_API_KEY=your-groq-api-key
GROQ_MODEL=openai/gpt-oss-120b
GITHUB_OWNER=modelcontextprotocol
GITHUB_REPO=python-sdk
GITHUB_TOKEN=your-github-tokenGITHUB_TOKEN is optional for public repositories but recommended for a higher GitHub API rate limit. Never commit .env.
Run The Agent
The installed console command starts the LangChain agent:
uv run github-health-agent "Is this repository healthy?"
uv run github-health-agent "What are the most important open issues?"
uv run github-health-agent "Did the latest workflow pass?"
uv run github-health-agent "Prepare a release-readiness report."You can also run it as a module:
uv run python -m github_repo_health.agent "Summarize recent activity."To run only the MCP server for an MCP host such as Claude Desktop:
uv run github-health-mcpThe MCP server is normally started automatically by the LangChain client over stdio.
Agent Flow
For a repository question:
agent.pyidentifies the request as GitHub-related.It starts
github_repo_health.mcp_serverover stdio.The MCP adapter discovers tools and reads the health resource.
The client loads
daily_health_reportortriage_open_issues.Groq decides which live GitHub tools to call.
github_api.pycalls GitHub and returns shaped data.Groq summarizes the results into the final answer.
For unrelated questions, the agent calls Groq directly without starting the MCP server.
Logs
Logs go to stderr and the final answer goes to stdout. GitHub requests show entries such as:
Starting MCP server: github_repo_health.mcp_server
Invoking MCP server: list tools
Invoking MCP server: read resource github://repository/owner/repo/health
Invoking MCP server: get prompt daily_health_report
Invoking LLM: Groq model=openai/gpt-oss-120b
Invoking MCP tool: get_workflow_runs input=...
MCP tool returned: get_workflow_runs
LLM response receivedDirect questions show Invoking LLM directly instead.
Tests
Run the fast local tests:
uv run python -m unittest discover -s tests -vThe tests do not call GitHub or Groq, so they are safe to run without API keys.
Available Tools
4 toolsget_open_issuesA
Get open issues, excluding pull requests, for a GitHub repository.
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| limit | No | ||
| owner | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral disclosure burden. It usefully reveals that pull requests are excluded, which is a non-obvvious selection behavior. It does not mention pagination, limit handling, sorting, or access requirements, though the output schema covers return shape.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single concise sentence front-loads the operation and then adds the important pull-request exclusion. Every word contributes; there is no filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only issue-listing tool with an output schema present, the description identifies the resource, scope, and exclusion that matter most. The main gaps are explicit usage boundaries and parameter-level documentation, which are already penalized in their respective dimensions.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the description does not compensate. It does not explain the role of owner, repo, or limit beyond the schema titles/default. The parameter names are conventional enough to infer, but the description adds no parameter-level meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Get'), resource ('open issues'), and scope ('for a GitHub repository'), plus a critical qualifier ('excluding pull requests'). This clearly distinguishes it from the sibling tools, which cover repository info, commits, and workflow runs rather than issues.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied: call this when you need open issues for a GitHub repository. However, there is no explicit when-to-use versus when-not-to-use guidance, and no alternatives such as get_recent_commits are named, so an agent must infer the decision boundary.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_recent_commitsA
Get recent commits and their authors for a GitHub repository.
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| limit | No | ||
| owner | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description bears the burden of behavioral clarification. The verb 'get' communicates a read-only operation, and the mention of commits and authors indicates the returned data. However, it does not disclose pagination, ordering, rate limits, auth requirements, or possible failure modes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler or redundant information. Every word contributes to identifying the action and the resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The the tool is simple: three scalar parameters, two required, and an output schema exists, so return values do not need to be described. The description plus the input schema is broadly sufficient for an agent to select and invoke the tool, though the exact meaning of 'recent' and the limit parameter is left to inference.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description needs to compensate for the schema's lack of parameter documentation. It provides only a high-level hint that the resource is a GitHub repository and that commits are recent; it does not explain how 'owner', 'repo', or 'limit' should be used or that limit defaults to 10.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific operation ('get'), a concrete resource ('recent commits'), and the expected result ('and their authors') for a GitHub repository. This clearly distinguishes it from sibling tools that target repository info, issues, or workflow runs.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The wording implies this tool should be used when an agent needs commit history and author information, but it never explicitly states when to prefer it over get_repository_info, get_open_issues, or get_workflow_runs. There is no when-not-to-use or alternative guidance, so the usage context is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_repository_infoC
Get current metadata and activity counters for a GitHub repository.
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| owner | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that data is 'current' but does not mention authentication requirements, rate limits, read-only nature, or any side effects. The word 'Get' weakly implies a read operation, but this is not made explicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that immediately states the action and the resource. There is no redundant phrasing or filler, and the core information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple, there is an output schema available, and sibling names provide context. However, the description lacks usage distinctions and behavioral details such as authentication or scope, leaving the agent to infer important context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate for the two parameters. It does not mention owner or repo at all. While 'owner' and 'repo' are somewhat self-explanatory in a GitHub context, the description adds no value to the parameter names.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Get') and resource ('metadata and activity counters for a GitHub repository'), which conveys the core purpose. It is distinguishable from sibling tools that target issues, commits, and workflow runs, though it does not explicitly name those alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit guidance on when to use this tool versus the siblings. The purpose implies it is for repository-level metadata and counters, but the description does not state exclusions or direct the agent to alternatives like get_open_issues or get_recent_commits.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_workflow_runsB
Get recent GitHub Actions workflow runs and their conclusions.
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| limit | No | ||
| owner | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure, but it only restates the basic read function. It does not mention auth requirements, rate limits, what 'recent' means, whether filters apply, or which run conclusions are included.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One concise 10-word sentence with the verb and resource front-loaded. Every word earns its place with no filler or repetition of schema structure.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a simple 3-param read tool with an output schema present, so return-shape documentation is unnecessary. However, usage selection guidance and behavioral context (auth, filtering, recency definition) are missing, making it merely adequate for autonomous invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate, but it only hints at the limit parameter via 'recent' and leaves owner/repo completely implicit. An agent gets no explicit guidance on what each parameter controls or how limit interacts with recency.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Get') and resource ('recent GitHub Actions workflow runs') and states what is returned ('their conclusions'). It clearly distinguishes itself from the sibling tools, which target repository info, issues, and commits.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance is provided. The description does not name alternatives like get_open_issues or get_recent_commits, nor does it state conditions under which this tool should be preferred, leaving the agent to infer selection from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v0.1.0- First observed
get_open_issues - First observed
get_recent_commits - First observed
get_repository_info - First observed
get_workflow_runs
TDQS
Each tool targets a distinct aspect of repository health: metadata, issues, commits, and workflow runs. There is no overlap or ambiguity between them.
All four tools follow a consistent get_<resource>_<detail> pattern with snake_case naming. The naming is predictable and easy to extend.
Four tools is well-scoped for a read-only repository health MCP. Each tool covers a meaningful health signal without unnecessary redundancy.
The core health indicators—repo stats, issues, commits, and CI status—are covered. Pull request activity and contributor trends are notable omissions, but the current surface is sufficient for basic health assessments.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
GitHub project health, package dependency risk, trending repos, license & package comparison.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Large Language Models to analyze GitHub repositories in real-time, providing tools for retrieving repository information, analyzing issues, accessing documentation, and visualizing activity.-
- AlicenseCqualityBmaintenanceMonitors and analyzes GitHub repository health by detecting stale branches, old pull requests, unresponsive issues, and security alerts. Integrates with MCP-compatible AI assistants and automation tools.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to analyze GitHub repositories with tools for health scoring, contributor analysis, issue tracking, code search, and more.MIT
- FlicenseNot gradedqualityCmaintenanceExposes GitHub repository data via MCP tools, a resource, and a prompt, enabling repo summaries, issue/PR listing, keyword search, and repo health review.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chetangpande-ai/GitHubReposHealth-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server