spec-score
Score your specs before feeding them to an LLM. MCP server that measures spec quality on 4 axes.
claude mcp add --transport stdio openpoem-spec-score-mcp npx -y spec-score-mcp
How to use
Spec-score MCP is a server that evaluates a software specification and scores it across four axes: completeness, clarity, constraints, and specificity. Each axis returns a score from 0.0 to 1.0 and the server also provides a balance score and a verdict indicating how ready the spec is for implementation. The MCP exposes three tools: spec_score (score a spec and return detailed axis scores and balance verdict), spec_visualize (generate an SVG radar chart from scores), and spec_compare (compare two scored specs side-by-side). In Claude Code sessions you can invoke these tools directly in conversations or via slash commands, allowing you to iteratively improve your spec before you start building. Use the slash commands to score a spec document, then visualize the results to better understand weak axes and guide refinements. You can also run the HTTP API endpoints (POST /api/score, /api/visualize, /api/compare) if you want programmatic access outside of Claude.
How to install
Prerequisites:
- Node.js and npm installed on your machine (Node 14+ recommended).
- Access to a shell/terminal.
Install the MCP server globally via npm:
npm i -g spec-score-mcp
Alternatively, you can run it via npx without a global install:
npx spec-score-mcp
Once installed, start the MCP server (the tool will be ready to use in Claude Code sessions or via CLI depending on your setup). In Claude, add the MCP with the command npx spec-score-mcp or the equivalent npx invocation if you used the CLI route. For development or local testing, you can clone the repository and run the TypeScript source directly with ts-node or build steps as described in the repository’s contributing guide (not required for end users).
Usage in Claude:
- In Claude Code, add the MCP with the command shown above so that the three tools (spec_score, spec_visualize, spec_compare) are available in all conversations.
Additional notes
Notes and tips:
- The MCP focuses on four axes to guide spec refinement. Use the weakest axis as a priority target for improvement.
- Balance score is a key signal: aim for a well-distributed score across all axes rather than a spike on a single axis.
- The tools are designed to be used together: first score with spec_score, then generate a radar chart with spec_visualize, and finally compare two candidate specs with spec_compare for side-by-side evaluation.
- If you’re integrating programmatically, you can use the HTTP API endpoints to score and visualize specs from your own tooling.
- Ensure your spec documents are well-formed and clearly labeled so the scoring engine can interpret them accurately.
Related MCP Servers
mcp-graphql
Model Context Protocol server for GraphQL
Remote
A type-safe solution to remote MCP communication, enabling effortless integration for centralized management of Model Context.
rohlik
MCP server that lets you shop groceries across the Rohlik Group platforms (Rohlik.cz, Knuspr.de, Gurkerl.at, Kifli.hu, Sezamo.ro)
mcp -chart-minio
mcp-server-chart私有化部署方案
modular
A Model Context Protocol (MCP) proxy server that enables efficient management of large tool collections across multiple MCP servers by grouping them and loading tool schemas on-demand.
kanban
MCP Kanban is a specialized middleware designed to facilitate interaction between Large Language Models (LLMs) and Planka, a Kanban board application. It serves as an intermediary layer that provides LLMs with a simplified and enhanced API to interact with Planka's task management system.