gitea-pulse MCP Server
Gitea Actions CI insights for agents: why a run failed, flaky jobs, slow steps, common failures.
gitea-pulse scores 56 (Fair), with no SPDX license recorded and written in TypeScript. It installs as a local process. It declares 6 tools. Filed under Databases. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
56 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Where the 56 comes from
22 + 20 + 0 + 0 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "racstan-gitea-pulse": { "command": "npx", "args": [ "-y", "gitea-pulse@0.1.0" ], "env": { "GITEA_URL": "", "GITEA_TOKEN": "YOUR_GITEA_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GITEA_URL | Optional | Your Gitea's root URL, such as https://gitea.example.com (default http://localhost:3000). |
GITEA_TOKENSecret | Optional | A Gitea access token with read access to repositories, used by the sync_repo tool. |
Tools6Tool docs quality grade C
All capabilitiesfailure_groupstoolthe steps that fail most and the most common failure causes.
job_flakinesstoolis a job flaky, with its last flakes.
pass_ratetoolpass rate per repo, whether the default branch is red and how long it stayed red, weakest branches and workflows.
run_failuretoolwhy a run failed (failed jobs and steps, error lines, seen elsewhere, flaky?). Takes a run number or a run URL.
sync_repotoolpull the latest runs of one repo so answers are fresh.
time_losttoolrunner time spent on failed jobs and on attempts a re-run replaced.
About
- A CI job fails, and you hit re-run without knowing whether it's your change or a flaky test.
- Your pipeline gets slower a few seconds at a time, and nobody notices until it takes twenty minutes.
- The same error breaks builds across repos and branches, and you fix it from scratch each time.
- Jobs sit in the queue and you can't tell if you need another runner.
gitea-pulse answers all of them for your own Gitea Actions. It pulls your run, job and step history from the Gitea API into a small local SQLite file, and tells you which jobs are flaky, which steps are getting slower, what your failures have in common, and how busy your runners are.
What it tells you
| Question | What gitea-pulse shows |
|---|---|
| Is this failure my change or a flaky test? | Flaky jobs: jobs that failed and then passed on the same commit, with how often and when last. |
| Have we seen this error before? | Failure groups: failed jobs grouped by their error lines, across repos and branches, most common first. |
| Which step breaks most? | Steps that fail most: the first step to fail in each failed job, against how often it ran, with its top cause. |
| What got slower? | Slowest jobs and steps: median and 95th percentile, and the last 14 days against the 14 days before. |
| How healthy is a repo? | Pass rate per repo, branch and workflow, and red spells: how often and how long the default branch stayed red. |
| What do failures cost us? | Runner time lost to failed jobs and to attempts a re-run replaced. |
| Do we need another runner? | Queue wait (created to started) and runner usage: busy time, job time and the most jobs at once. |
The pictures and the demo video show made-up sample history (demo/web-shop, demo/api, demo/docs-site), made by scripts/demo.mjs.
Three ways to use it
- CLI:
gitea-pulse syncpulls history;gitea-pulse reportprints flaky jobs, slowest jobs and steps with their trend, top failure causes, the steps that fail most, pass rate per repo, branch and workflow, how long the default branch stayed red, runner time lost to failures and re-runs, queue wait and runner load. - Local dashboard:
gitea-pulse serveshows charts per repo, failure groups, the steps that fail most, red spells, time lost and runner usage in your browser. - MCP server:
gitea-pulse mcplets an AI agent ask "why did run X fail?" or "is job Y flaky?" before it re-runs CI. See Use it from an AI agent.
Getting started
You need Node.js 22.13 or later (gitea-pulse uses Node's built-in SQLite, so there's nothing native to compile) and a Gitea access token that can read your repositories.
export GITEA_URL=http://localhost:3000
export GITEA_TOKEN=... # a token with read access to repositories
npx gitea-pulse sync # every repository the token can see; stores history in ./gitea-pulse.sqlite
npx gitea-pulse report # flaky jobs, slow steps, failure causes, pass rates, queue wait, runner load
npx gitea-pulse serve # the same as a local web page at http://127.0.0.1:41873/
Useful options (see gitea-pulse --help):
npx gitea-pulse sync --repo owner/name # one repository
npx gitea-pulse report --repo owner/name --since 30d --limit 5
npx gitea-pulse report --json # the same data for scripts
npx gitea-pulse report --db other.sqlite # use another database file
npx gitea-pulse serve --port 5000 # dashboard on another port
The dashboard comes in light and dark, following your system or the choice in its top bar:
The dashboard only listens on your own computer (127.0.0.1) unless you pass --host; it has no login, so don't expose it to a network you don't trust. Pick a repository and a time range at the top; the address keeps them, so you can bookmark a view.
The first sync reads all history (a few hundred runs take about a minute; requests are spaced out on purpose). After that a sync only fetches what is new, so run it as often as you like, for example from cron. The token is only sent to your Gitea and is never printed.
Use it from an AI agent (MCP)
gitea-pulse mcp is an MCP server on stdio. It reads the same SQLite file as sync and report, so an agent can check whether a failure is flaky or already known before it hits re-run.
Claude Code:
claude mcp add gitea-pulse -e GITEA_URL=http://localhost:3000 -e GITEA_TOKEN=... -- npx -y gitea-pulse mcp --db /absolute/path/gitea-pulse.sqlite
Claude Desktop, Cursor, VS Code, Windsurf and other MCP apps: add this to the app's MCP settings (claude_desktop_config.json, .cursor/mcp.json, and so on; VS Code calls the top key servers):
{
"mcpServers": {
"gitea-pulse": {
"command": "npx",
"args": ["-y", "gitea-pulse", "mcp", "--db", "/absolute/path/gitea-pulse.sqlite"],
"env": { "GITEA_URL": "http://localhost:3000", "GITEA_TOKEN": "..." }
}
}
}
gitea-pulse is also listed in the official MCP Registry as io.github.racstan/gitea-pulse.
Use an absolute --db path (the agent's working folder is not yours). The file is created if missing, and the agent can fill it with sync_repo. The token is only read from the environment and never printed.
Tools:
run_failure: why a run failed (failed jobs and steps, error lines, seen elsewhere, flaky?). Takes a run number or a run URL.job_flakiness: is a job flaky, with its last flakes.slowest: slowest jobs and steps with p50, p95 and trend.failure_groups: the steps that fail most and the most common failure causes.pass_rate: pass rate per repo, whether the default branch is red and how long it stayed red, weakest branches and workflows.time_lost: runner time spent on failed jobs and on attempts a re-run replaced.repos: stored repositories, run counts and last sync.sync_repo: pull the latest runs of one repo so answers are fresh.
Try asking: "Why did run 262 in demo/app fail? Should I re-run it?", "Is the Embedder job flaky?", "What are the three most common CI failures this month?", "What got slower in demo/app?"
How it works
- Flaky jobs: the same commit and job failed and then passed, on a re-run or a later attempt. Jobs are scored by how often that happens.
- Failure causes: for failed jobs only, the error lines before the failure are cleaned of paths, numbers and timestamps into a signature, and failures are grouped by it.
- Slowness: median and 95th-percentile time per job and step, over time. The trend compares the median of the last 14 days with the 14 days before, and is shown only when each has at least 5 runs. Queue wait is the time from a job being created to it starting.
- Steps that fail most: the first step to fail in each failed job, counted against how often the step ran.
- Red spells: on each repo's default branch, from the first failed run to the end of the next passing one; count, median, longest, and whether it is red now.
- Time lost: runner time on failed jobs plus every job of an attempt that a re-run replaced.
- Runner usage: busy time is wall-clock time with at least one job running, so jobs running side by side count once; job time adds them all up.
- Sync is incremental: it remembers how far it got per repository and stays well under the API's rate limits.
Support
If gitea-pulse saves you time, you can support it through GitHub Sponsors or Buy Me a Coffee.
License
PolyForm Noncommercial 1.0.0. Free for personal and other noncommercial use; for anything else, ask for a commercial license.
Frequently asked questions
What is gitea-pulse MCP Server?
Gitea Actions CI insights for agents: why a run failed, flaky jobs, slow steps, common failures.
How do I install gitea-pulse MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. gitea-pulse MCP Server runs locally from the npm package gitea-pulse with the command npx -y gitea-pulse@0.1.0.
Does gitea-pulse MCP Server support remote (HTTP) connections?
No remote endpoint is listed for gitea-pulse MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does gitea-pulse MCP Server provide?
gitea-pulse MCP Server provides 6 tools, including failure_groups, job_flakiness, pass_rate, and run_failure. See the full tool list for descriptions and parameters.
How is gitea-pulse MCP Server's trust score calculated?
gitea-pulse MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.