SpecLeft MCP server
Python intent tracing MCP: map specs to pytest tests, monitor implementation progress, offline-only.
3 stars89 downloads/wk
Reviews
Write oneNobody has reviewed SpecLeft yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
SpecLeft tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan55 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 166 days ago8/15
- Maintainer identityregistry namespace matches repository owner7/10
Install SpecLeft in Claude Code, Cursor or VS Code
claude mcp add specleft -- uvx specleft
What the publisher says
From the SpecLeft repository's README, as published. We do not edit it. Read it on GitHub
SpecLeft: Spec Driven Workflow for Agents
SpecLeft keeps feature intent and test coverage aligned by turning plans into version-controlled specs, then generating pytest test skeletons from those specs.
- Write feature specs in Markdown: .specleft/specs/*.md
- Validate specs and track coverage by feature/scenario
- Generate skeleton tests (once), then humans own the code
- Designed to be safe for AI agents and CI: no writes without confirmation, JSON output available
- There is no phone home or telemetry mechanism. SpecLeft runs 100% locally and stores data in your local disk.
SpecLeft currently works with Python and pytest. It does not replace your test runner or reinterpret existing tests.
Website: specleft.dev
Quick Start
Two paths, depending on how you want to start. See docs/cli-reference.md for full command details.
Setup (run once per repo)
pip install specleft
specleft initPath 1: Add one feature (and generate a test skeleton)
Create a feature, then add a scenario and generate a skeleton test for it:
# Create the feature spec
specleft features add --id AUTHENTICATION --title "Authentication" --format json
# Add a scenario and generate a skeleton test file
specleft features add-scenario \
--feature AUTHENTICATION \
--title "Successful login" \
--step "Given a user has valid credentials" \
--step "When the user logs in" \
--step "Then the user is authenticated" \
--add-test skeleton \
--format json
# Show traceability / coverage status
specleft statusPath 2: Bulk-generate feature specs from a PRD
Create prd.md describing intended behavior.
Recommended: Update .specleft/templates/prd-template.yml to customize how your PRD sections map to features/scenarios.
Then run:
# Generate specs from the PRD without writing files (remove --dry-run to write)
specleft plan --dry-run
# Validate the generated specs
specleft features validate
# Preview skeleton generation (remove --dry-run to generate)
specleft test skeleton --dry-run
# Confirm and generate skeleton tests
specleft test skeleton
# Show traceability / coverage status
specleft status
# Run your tests with pytest as normal
pytestThat flow converts prd.md into .specleft/specs/*.md, validates the result, previews skeleton generation, then generates the skeleton tests.
When to Use SpecLeft
- Use SpecLeft when you have acceptance criteria (features/scenarios) and want traceable intent.
- Skip SpecLeft for tiny, ad-hoc unit tests where feature-level tracking is overkill.
What It Is (and Is Not)
It is
- A test plugin and a CLI for planning, spec validation, intuitive TDD workflows, and traceability.
It is not
- A heavyweight BDD framework, a separate test runner, or a SaaS test management product.
- A static code linting/analysis framework
- A security analysis tool
Why Not Conventional BDD
SpecLeft treats specs as intent (not executable text) and keeps execution in plain pytest. For the longer comparison, see docs/why-not-bdd.md.
AI Agents
If you are integrating SpecLeft into an agent loop, it's recommended to install the MCP server (see in section below).
Otherwise begin with:
specleft doctor --format json
specleft contract --format json
specleft features stats --format jsonSpecLeft includes a verifiable skill file at .specleft/SKILL.md. Verify integrity with:
specleft skill verify --format jsonShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
SpecLeft: common questions
- Is SpecLeft MCP server safe?
- Mostly: it is graded B (80/100). Read the SpecLeft safety report
- How do I install SpecLeft?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does SpecLeft need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is SpecLeft maintained?
- The last commit was 181 days ago (2026-04-15). The latest release is v0.4.0.
- What can I use instead of SpecLeft?
- Servers from other publishers that do the same job: passwerk MCP server, Whalesync MCP server and Repo Graph MCP server. Compare all SpecLeft alternatives.
Alternatives to SpecLeft
Same job from other publishers: the closest match first, then the best rated.
- passwerkOffline EU Battery Passport compiler: ingest documents, map, validate (IDTA 02035), emit AASX.not reviewedGrowingA
WhalesyncBuild and manage Whalesync syncs: connect apps, map tables and fields, monitor and fix issues.not reviewedGrowingA- Repo GraphStructural graph map of any codebase so LLMs navigate by structure, not guesswork.not reviewedGrowingA
- AgentmapThe TS/JS-accurate repo map for coding agents: ts-morph import/symbol/call graph + MCP query toolsnot reviewedGrowingA
- Infranodus InfranodusMap text into knowledge graphs to create a structured representation of conceptual relations and t…not reviewedGrowingA