Blacksmith logo

Blacksmith

Queries Blacksmith CI runs, logs, tests, failures, usage, billing, cache data, and organization status through MCP.

Install Blacksmith

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "blacksmith": {
      "command": "npx",
      "args": [
        "-y",
        "blacksmith-mcp"
      ],
      "env": {
        "BLACKSMITH_ORG": "YOUR_VALUE_HERE",
        "BLACKSMITH_SESSION_COOKIE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 21 tools correctly (Today).

Overview

The blacksmith MCP server connects an MCP client to Blacksmith CI data through its internal web API. It exposes tools for inspecting workflow runs and jobs, reading logs, analyzing test failures, comparing runs, finding flaky or slow tests, and tracking trends. Usage, billing, cache, organization, and cross-job log search tools support CI operations beyond individual failures. Reach for it when you need conversational access to Blacksmith data without manually navigating its dashboard.

Use cases

  • Investigate why a workflow run failed
  • Compare test failures between a pull request and another run
  • Identify flaky or slow tests
  • Search logs across CI jobs
  • Monitor Blacksmith usage, billing, and cache data

Key features

  • Workflow run and job inspection
  • Raw job log retrieval and cross-job search
  • Failure grouping and test-run comparison
  • Flaky, slow, historical, and trend analysis
  • Usage, billing, cache, and organization queries
  • Chrome session or manual cookie authentication

Tools21

What Blacksmith lets your agent do. Expand a tool for its parameters.

Verified live~2.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

6/6 checks healthy over the last 38d

What it can do

From the 21 tools this server returned when we ran it.

Read-only tools · 21
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age278 days
Maintainers1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · blacksmith-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads1.4kPackage downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed21Callable tools this server registers over MCP.

How Blacksmith works

What blacksmith MCP server does

The blacksmith MCP server gives MCP clients access to Blacksmith CI information through a collection of read-oriented tools. It covers workflow runs, jobs, job steps, timing, runner details, raw logs, and test results. Run queries can be filtered by status, branch, workflow, actor, or pull request, while individual runs can be inspected together with their jobs.

Test analysis is a central use case. The available tools can return failed tests with their complete error messages, group failures by recurring error patterns, compare failures between two runs, identify intermittent tests, find tests above a duration threshold, and show the pass/fail history of a named test. Trend analysis includes test duration, failure rate, and test count.

The server also exposes operational information from Blacksmith. You can inspect active and maximum core usage, billing-period charges, billable minutes against the free tier, cache size, repository cache entries, accessible organizations, organization status, and logs searched across all jobs.

How it works

The server runs as an MCP process and makes requests to Blacksmith's web API on behalf of the connected client. For example, a failure investigation can begin by listing failed runs, continue with run or job details, and then retrieve logs or failed-test information. Comparing two test runs can help identify regressions between a pull-request run and another run.

Authentication normally comes from an active Blacksmith session in Chrome. The process extracts the session cookie rather than requiring the user to copy a token. The automatic method has specific requirements: macOS, Chrome installed, an active login to Blacksmith, and a Chrome profile that is not locked.

Setup and configuration

Install and launch the blacksmith MCP server with npx blacksmith-mcp, either through the Claude Code CLI or an MCP project configuration using the stdio transport. A global npm installation is also documented. Set BLACKSMITH_ORG to the Blacksmith organization name; the README marks this variable as required. If automatic cookie extraction is unavailable or fails, set BLACKSMITH_SESSION_COOKIE to the session cookie value.

When the organization is unknown, use list_orgs to view accessible organizations and then assign the selected name to BLACKSMITH_ORG. An expired session requires logging into Blacksmith again in Chrome before retrying, unless a valid session cookie is supplied manually.

Tools and capabilities

Available tool groups include:

  • Workflow inspection: list_runs, get_run, list_jobs, get_job, and get_job_logs.
  • Test analysis: get_job_tests, get_failed_tests, get_failures_by_pattern, compare_test_runs, get_flaky_tests, get_slow_tests, get_test_history, and get_trends.
  • Account and infrastructure data: get_current_usage, get_invoice_amount, get_usage_summary, get_cache_stats, and get_cache_entries.
  • Organization and search: list_orgs, get_org_status, and search_logs.

Limitations and notes

That API may change without notice. Automatic cookie extraction is not presented as a universal option: its documented requirements are limited to macOS with Chrome and an unlocked Chrome profile.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Blacksmith

blacksmith is an MCP server that connects MCP clients to Blacksmith CI data. Its main tools inspect workflow runs and jobs, retrieve logs and test results, analyze failures, compare test runs, detect flaky or slow tests, and report usage, billing, cache, and organization information.

Install it with `npx blacksmith-mcp` through the Claude Code CLI or an MCP project configuration, or install it globally with npm. Set `BLACKSMITH_ORG` to your organization name, then authenticate through Chrome or provide `BLACKSMITH_SESSION_COOKIE`.

It authenticates by extracting an active Blacksmith session cookie from Chrome or by reading `BLACKSMITH_SESSION_COOKIE`. Automatic extraction requires macOS, Chrome, an active login to app.blacksmith.sh, and an unlocked Chrome profile.

Yes, it can detect intermittent tests with `get_flaky_tests` and compare failures between two runs with `compare_test_runs`. Related tools expose test history, slow tests, failure patterns, full error messages, and trends.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBlacksmith AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/blacksmith?style=directory)](https://allmcps.com/mcp/blacksmith)
HTML Embed
<a href="https://allmcps.com/mcp/blacksmith"><img src="https://allmcps.com/api/badge/blacksmith?style=directory" alt="Blacksmith on AllMCPs" /></a>