mcp-swarmia
Enables querying engineering metrics and FTE effort data that can be grouped and filtered by Jira issue levels and custom field IDs via the Swarmia Export API.
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., "@mcp-swarmiaShow me our DORA metrics for the last 30 days"
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.
mcp-swarmia
A local Model Context Protocol (MCP) server that exposes the Swarmia Export API as tools for AI assistants such as Claude.
Once connected, Claude (or any MCP-compatible client) can query your engineering metrics—pull request cycle times, DORA metrics, investment balance, CapEx reports, and FTE effort—in natural language without you having to write a single API call.
Requirements
Python 3.11+
A Swarmia account with an API token (Settings → API tokens)
mcpPython package (only external dependency)
Related MCP server: Koalr
Installation
# 1. Clone or copy this directory
cd mcp-swarmia
# 2. Create and activate a virtual environment (recommended)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# 3. Install dependencies
pip install -r requirements.txtConfiguration
Export your Swarmia API token as an environment variable:
export SWARMIA_API_TOKEN="your-token-here"Alternatively, add it to a .env file and source it, or configure it in your MCP client settings (see below).
Running the server
python server.pyThe server communicates over stdio (standard input/output), which is the transport expected by Claude Desktop and most other MCP clients. You do not need to expose any network ports.
Connecting to Claude Desktop
Add the following block to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"swarmia": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/mcp-swarmia/server.py"],
"env": {
"SWARMIA_API_TOKEN": "your-token-here"
}
}
}
}Replace the paths and token with your actual values, then restart Claude Desktop.
Available tools
Tool | Description | Required params |
| Team-level PR metrics (cycle time, review time, size, …) | — |
| Organisation DORA metrics (deployment frequency, lead time, CFR, MTTR) | — |
| Monthly FTE investment balance by category |
|
| Software capitalisation report |
|
| Per-employee CapEx breakdown |
|
| Monthly engineering effort (FTE) by author |
|
Shared optional parameters
All time-series endpoints accept:
Parameter | Description | Example |
| Preset window |
|
| Custom start (YYYY-MM-DD) |
|
| Custom end (YYYY-MM-DD) |
|
| tz database identifier |
|
timeframe and startDate/endDate are mutually exclusive. Defaults to last_7_days when neither is provided.
DORA-specific parameters
Parameter | Description |
| Filter by deployment application name |
| Filter by deployment environment |
FTE-specific parameters
Parameter | Description | Values |
| How to group effort |
|
| Jira field ID | Required when |
Response format
All tools return CSV text with a header row and comma delimiters, exactly as returned by the Swarmia API. No summary aggregations are added.
Example prompts
After connecting the server to Claude, try:
"Show me our DORA metrics for the last 30 days."
"What does our pull request cycle time look like for Q1 2024?"
"Fetch the investment balance for January 2024."
"Get the CapEx report for 2024."
"Show FTE effort for March 2024, grouped by highest-level issue."
Security note
Swarmia recommends passing tokens via the Authorization header rather than query parameters, as some proxies log query strings. This server always uses the header approach.
Troubleshooting
Problem | Solution |
| Export the env var or add it to your MCP client config |
| Token is invalid or expired — regenerate it in Swarmia |
| Check that required parameters (e.g. |
Server not appearing in Claude | Verify the absolute paths in |
This server cannot be installed
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 Servers
- AlicenseAqualityCmaintenanceConnects AI assistants to Warpmetrics telemetry data to monitor AI agent performance, execution runs, and LLM costs. It allows users to query success rates, latency, and spend metrics directly through natural language interfaces.2037MIT
- Alicense-qualityCmaintenanceConnect engineering metrics, DORA performance, deploy risk scoring, and PR health to any AI assistant. Score PRs for deployment risk using a 36-signal model, query team health, incidents, coverage, and more.MIT
- Alicense-qualityDmaintenanceEnables querying Swarmia's Export API for engineering metrics including pull request analytics, DORA metrics, investment balance, and effort reporting through an MCP interface.8MIT
- AlicenseAqualityDmaintenanceExposes DataFast analytics as tools for AI assistants, enabling natural language queries about website metrics such as visitors, referrers, revenue, and real-time data.22MIT
Related MCP Connectors
Generate answers & visualizations from your engineering data to track software development health.
SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.
SaaS intelligence for AI agents. 5 unified tools cover 1,000+ services with 91-96% token savings.
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/smattila/mcp-swarmia'
If you have feedback or need assistance with the MCP directory API, please join our Discord server