spec-to-delivery
Click on "Deploy 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., "@spec-to-delivery parse examples/requirements.md and generate a traceability matrix"
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.
spec-to-delivery
Claude Agent Skills and an MCP server that turn a requirements document into an RFC, functional test scenarios, and a traceability matrix that proves every requirement has a test.
Built from a pattern I used on a 25-person enterprise platform team, where RFCs and test scenarios were the most repetitive engineering work in every sprint. The agent drafts, the engineer reviews. The tools in this repo are the deterministic part that keeps the agent honest: they parse, diff and cross-check so the model cannot quietly skip a requirement.
What is in the box
Piece | What it does |
| Claude Agent Skill: requirements in, structured RFC draft out, with a requirement trace table |
| Claude Agent Skill: writes Gherkin scenarios tagged with requirement IDs and verifies 100 percent coverage |
MCP server ( | Four tools: |
| A small rebate-accrual requirements doc and a feature file to try it on |
Related MCP server: Requirement Trace Checker
Quick start
git clone https://github.com/medhakara/spec-to-delivery
cd spec-to-delivery
npm install
npm test
npm run buildRegister the MCP server with Claude Code
claude mcp add spec-to-delivery -- node /absolute/path/to/spec-to-delivery/dist/index.jsOr in .mcp.json at your project root:
{
"mcpServers": {
"spec-to-delivery": {
"command": "node",
"args": ["/absolute/path/to/spec-to-delivery/dist/index.js"]
}
}
}Install the skills
Copy the two folders under skills/ into your project's .claude/skills/ (or ~/.claude/skills/ for every project). Claude Code picks them up automatically.
Try it
In Claude Code, inside this repo:
Use the functional-test-scenarios skill on examples/requirements.md, starting from examples/accruals.feature.The example feature file deliberately covers only five of the nine requirements, so you can watch the skill find the gaps, write the missing scenarios, and re-run the traceability check until coverage is 100 percent.
Then:
Use the rfc-from-requirements skill to draft an RFC for REQ-010 through REQ-012.Requirement format
Any Markdown line that starts with an ID such as REQ-001, FR-12, NFR-3 or US-045 is a requirement. List items, bold IDs and headings all work:
- REQ-001: The system MUST compute accruals only inside the program period.
- **REQ-002** Accruals SHOULD be recalculated when a transaction is amended.
Continuation lines are joined to the requirement above.
### REQ-003 Claim validationPriority is read from MUST / SHALL / SHOULD / MAY / COULD in the text or a trailing [MUST] tag. The section is the nearest heading. Duplicate IDs are flagged, not merged.
Scenario linking
A scenario is linked to a requirement by a @REQ-001 tag above it, or by mentioning the ID in its title. Feature-level tags apply to every scenario in the feature.
Tool reference
All tools accept { "text": "..." } or { "path": "..." } for each document.
parse_requirements
{ document }→[{ id, text, section, priority, line }]diff_requirements
{ before, after }→{ added, removed, changed: [{id, before, after}], unchanged }parse_scenarios
{ features: [document] }→[{ feature, name, requirementIds, line }]traceability_matrix
{ requirements, features: [document] }→{ rows, uncovered, orphanScenarios, unknownIds, coverage, markdown }
Inspect interactively with npm run inspect.
Why deterministic tools around an LLM
The skills tell the model what good looks like. The tools make it checkable. A model that "believes" it covered every requirement is not the same as a matrix that shows it did, and reviewers trust the matrix. The same split (LLM drafts, code verifies) is how I structure every agent that ships to production.
Roadmap
Excel and Jira export as requirement sources
Coverage gate for CI (
spec-to-delivery check --min 100)ADR skill sharing the same trace table
Licence
MIT. Kumar Gautam, 2026.
Built by Kumar Gautam at Medhakara, an AI engineering studio.
Available Tools
4 toolsdiff_requirementsA
Compare two versions of a requirements document by requirement ID. Returns added, removed, changed (with before/after text) and unchanged IDs.
Inputs: after (required), before (required).
parse_requirementsA
Extract identified requirements (REQ-001 style IDs) from a Markdown requirements document. Returns id, text, section, priority and line number for each.
Inputs: document (required).
parse_scenariosA
Parse Gherkin feature text and return each scenario with the requirement IDs it is linked to (via @REQ-001 tags or IDs in the scenario title).
Inputs: features (required).
traceability_matrixC
Build a requirement-to-scenario traceability matrix. Returns per-requirement coverage, uncovered requirement IDs, orphan scenarios, unknown IDs, a coverage percentage, and a ready-to-paste Markdown table.
Inputs: features (required), requirements (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct purpose: parsing requirements, diffing requirements, parsing scenarios, and building a traceability matrix. There is no overlap or ambiguity; an agent can easily select the correct tool for a specific task.
The first three tools follow a consistent verb_noun pattern (parse_requirements, diff_requirements, parse_scenarios), but traceability_matrix is a noun phrase rather than a verb_action. This minor deviation is easily readable but slightly inconsistent.
Four tools is well within the ideal range and each tool covers a distinct stage of the requirements-to-scenario workflow. The scope is focused and every tool earns its place.
The tool set covers parsing, diffing, scenario extraction, and traceability, which forms a coherent core workflow. A minor gap is the lack of tools for updating or generating requirements, but this is not a severe omission for the stated purpose.
Maintenance
Related MCP Connectors
Manage functional-safety requirements and lifecycle traceability.
Read and draft requirements, controlled documents and trace links in Traceable Docs.
Generate architecture docs, implementation plans, and dev tickets from your project requirements.
Manage SysML2 projects; check, evaluate, verify, query, document and diagram models.
Related MCP Servers
- AlicenseBqualityDmaintenanceCaptures and organizes requirements as markdown, tracks relationships between personas, requirements, use cases, and user stories.123 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables users to analyze project materials and build traceability from requirements to coverage, identifying gaps.-
- AlicenseNot gradedqualityBmaintenanceEnables local-first import of Markdown/TXT/JSON/CSV requirements into per-project SQLite, letting Codex query requirements, dependencies, and impact through MCP and a local web UI.15 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables deliverable conformance and evidence-chain checks by turning requirements into executable specs, validating numbers against a provenance ledger, and auditing PDF/OOXML metadata and archive manifests.1MIT