Apache Health MCP
This server allows you to query and analyze Apache Incubator podling health reports from local Markdown files, providing insights into project activity, trends, and community health metrics.
Overview: Get a high-level summary of available reports (count, podling list, latest generation date) via
health_overview.List & Search Podlings: List all podlings with available reports, or search by case-insensitive substring (with optional result limits) via
list_podlings/search_podlings.Report Access: Retrieve a parsed metrics summary or the raw Markdown source for any podling via
get_report_summary/get_report_markdown.Window-Specific Metrics: Fetch metrics for a podling within a specific time window (e.g.,
3m,6m,12m,to-date), including normalized trend indicators (up,down,flat) viaget_window_metrics.Cross-Window Comparison: Compare a podling's metrics side-by-side across two or three time windows to identify trends via
compare_windows.Metric Rankings: Rank all podlings by a specific metric (e.g.,
commits,prs_merged,dev_messages,bus50,median_merge_days) within a given window viaquery_metric_rankings.List Supported Metrics & Windows: Discover all available metric names and time windows for querying via
list_metrics.
Provides tools for querying Apache Incubator health reports, including listing available podling reports, searching podling names, getting parsed summaries, retrieving raw Markdown reports, comparing metrics across windows, and ranking podlings by various metrics.
Provides access to Apache health reports stored in GitHub repositories, specifically parsing Markdown reports from the Apache Incubator repository's tools/health/reports directory.
Parses and processes Apache health reports stored in Markdown format, extracting structured data from the report files including window details, metrics, and podling information.
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., "@Apache Health MCPshow me the health summary for Amoro"
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.
Apache Health MCP
This repo contains a small MCP server for querying the Apache Incubator health reports from tools/health/reports.
It parses the Markdown report format used by Apache's health tooling and exposes MCP tools for:
listing available podling reports
searching podling names
getting a parsed summary for one podling
returning the raw Markdown report
returning metrics for one specific window
comparing one podling across two or three windows
listing supported metrics and windows
ranking podlings by a metric within a window like
3m,6m, or12m
Expected input
Point the server at a local directory containing Markdown files like:
reports/
Amoro.md
Iggy.md
...The parser is designed around the current Apache report structure, especially the ## Window Details section.
Install
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install .For local development:
make install-devRun
health-mcp --reports-dir /path/to/incubator/tools/health/reportsThe server uses stdio, so it is intended to be launched by an MCP client.
For local development without installing first, you can still launch the stdio server directly:
python3 server.pyThe package also keeps apache-health-mcp as a backwards-compatible command alias.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and add:
{
"mcpServers": {
"apache-health": {
"command": "health-mcp",
"args": [
"--reports-dir",
"/path/to/incubator/tools/health/reports"
]
}
}
}Then restart Claude Desktop. If you installed into a virtual environment that is not on your PATH, use the absolute path to that environment's health-mcp command.
MCP tools
health_overview
Returns the reports directory, report count, podling list, and latest generated date.
list_podlings
Returns the podling names available in the reports directory.
search_podlings
Searches podling names by case-insensitive substring with an optional result limit.
get_report_summary
Returns parsed window metrics for a single podling.
get_report_markdown
Returns the raw Markdown for a single podling report.
get_window_metrics
Returns metrics for one podling and one window such as 3m, 6m, 12m, or to-date, including normalized trend words like up, down, and flat under trends.
compare_windows
Returns side-by-side metrics for one podling across two or three windows, including normalized trend words under each window's trends.
query_metric_rankings
Ranks podlings by a parsed metric such as commits, prs_merged, dev_messages, bus50, or median_merge_days.
list_metrics
Returns the supported metric names and available windows for querying.
Usage Examples
These examples show the kinds of questions a user can ask an MCP client connected to this server.
Reviewing A Report Snapshot
"What Apache Incubator health reports are available in this checkout?"
"How many podling health reports do we have, and when were they generated?"
"Which podlings have health reports I can query?"
"What health metrics and report windows can I ask about?"
Investigating One Podling
"Show me the health summary for Amoro."
"What does the latest health report say about Iggy?"
"Find podlings with names containing 'stream' and summarize the best match."
"For this podling, show the recent 3-month health metrics."
"Show me the original Markdown report for Amoro so I can check the source."
Comparing Trends Across Windows
"Compare Amoro's 3-month, 6-month, and 12-month activity."
"Is Iggy's development activity improving or slowing down?"
"Compare recent mailing-list activity with the longer-term trend for this podling."
"Has this podling's PR merge activity changed between the 3-month and 12-month windows?"
"Is the bus factor for this podling getting better or worse across the report windows?"
Finding Podlings By Activity Signal
"Which podlings had the most dev-list messages in the last 3 months?"
"Show me podlings with no commits in the last 3 months."
"Which podlings have the longest median PR merge time?"
"Rank podlings by merged PRs over the 6-month window."
"Find podlings with low reviewer diversity in the recent report window."
Preparing A Human Review Queue
"Give me a short list of podlings that may need mentor attention based on recent activity."
"Which podlings look quiet across commits, PRs, and dev-list messages?"
"Find podlings with low recent activity and compare them against their 12-month trend."
"Which podlings should I manually review for bus-factor or reviewer-diversity concerns?"
Development
Common tasks are available through make:
make format
make lint
make typecheck
make test
make coverage
make checkNotes
This server queries already-generated report files. It does not run Apache's upstream collection script.
The workspace here did not include a local
reports/directory, so the server is built to accept any local clone or copied snapshot of Apache's reports directory.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/justinmclean/HealthMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server