Agentic Coding Harness
MCP server by sblattj Verified · npm:agentic-coding-harness
Runs, watches, and meters coding agents such as Claude Code, Codex CLI, and Gemini CLI from one command line tool. It records tokens and cost per run in a local registry. Built for developers who run coding agents locally and want to compare them.
Install Agentic Coding Harness
Built from the published package, never by AI.
claude mcp add agentic-coding-harness -- npx -y agentic-coding-harnessRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"agentic-coding-harness": {
"args": [
"-y",
"agentic-coding-harness"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Agentic Coding Harness in Claude Desktop
{
"mcpServers": {
"agentic-coding-harness": {
"args": [
"-y",
"agentic-coding-harness"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agentic-coding-harness": {
"args": [
"-y",
"agentic-coding-harness"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agentic-coding-harness -- npx -y agentic-coding-harness{
"mcpServers": {
"agentic-coding-harness": {
"args": [
"-y",
"agentic-coding-harness"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Agentic Coding Harness in Antigravity CLI
gemini mcp add agentic-coding-harness npx -y agentic-coding-harnessGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agentic-coding-harness block.
About
Agentic Coding Harness, published by sblattj, provides a CLI called ach. It runs, watches, and meters coding agents including Claude Code, OpenCode, Kiro, Codex CLI, Gemini CLI, Prime Agent, GitHub Copilot CLI, and the Cursor CLI agent. Each agent's transcript format is normalized into one event stream and one token record with input, output, cache read, cache write, and reasoning counts. Cost uses LiteLLM pricing, and unpriced models are marked unavailable rather than assigned a price.
Every run is saved to a local registry with atomic writes. Users can watch runs in a terminal dashboard (ach dash) or a browser grid (ach web, port 8399). The tool offers 10 MCP tools over stdio or streamable HTTP on port 8398. It exports ATIF trajectories, OpenTelemetry gen_ai spans, Langfuse traces via OTLP, and single-file HTML comparison reports. It suits developers who run coding agents locally and want per-run tokens, cost, and A/B comparisons. It is local-first and not aimed at hosted team features.
Written from the project's README and checked against it.
What you need
- Node.js 22+ for the npm install
- At least one agent CLI installed and signed in
- Homebrew, if installing with brew
- macOS or Linux for standalone binaries
Try asking
- Run Claude Code on this task and show me the token cost.
- Compare Codex CLI and Gemini CLI on the same task in an A/B report.
- Show the live dashboard of my running coding agents.
Good to know
- ach runs agents but does not install them; each agent CLI must be installed and signed in.
- The interactive browser terminal needs bun-pty and is unavailable in standalone builds.
- PyPI currently provides the older 0.7.4 release.
- Not built for hosted team features such as SSO, retention, or org-wide dashboards.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Tracking token spend across coding agents
- A/B comparing coding agents on one task
- Replaying agent runs in the terminal
Alternatives to Agentic Coding Harness
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Agentic Coding Harness: common questions
Which coding agents does it support?
The source lists Claude Code, OpenCode, Kiro, Codex CLI, Gemini CLI, Prime Agent, GitHub Copilot CLI, and the Cursor CLI agent. It also supports the Kiro IDE desktop app over CDP.
How does it calculate cost?
Cost is cache-aware and checked against each CLI's own records where the source describes this. Unpriced models are marked unavailable, and Copilot cost is never estimated from token math.
Does it send data to a hosted service?
The source describes it as local-first with flat files and no account needed. It exports to Langfuse or other OTLP backends only when the user wants their charts.
How do I install Agentic Coding Harness?
In Claude Code run claude mcp add agentic-coding-harness -- npx -y agentic-coding-harness. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Agentic Coding Harness the official server?
Agentic Coding Harness is published by npm:agentic-coding-harness from its verified domain in the official MCP Registry.
Is Agentic Coding Harness free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Agentic Coding Harness safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Agentic Coding Harness?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Agentic Coding Harness work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
