Skip to main content

Specwise MCP server

M8ven Score CI PyPI Python 3.10+ License: MIT MCP Registry Glama

Let your coding agent check an API contract: validate an OpenAPI document, find the breaking changes between two versions (also against git), and validate JSON Schemas and data.

The server is open source (MIT). It calls the Specwise API, which is paid, with a free plan.

  • You use your own key, from RapidAPI or api.market.
  • Every tool call is one request on your plan.
  • The free Basic plan has 15 requests a month, with a hard limit, so it never runs up a bill.

1. Get a key

marketplace
RapidAPI plans
api.market store

2. Add the server to your MCP client

The server runs locally over stdio with uv. Put your key in its environment.

JSON configuration (Claude Desktop, Cursor, VS Code and most clients):

{
  "mcpServers": {
    "specwise": {
      "command": "uvx",
      "args": ["--from", "bytestay-specwise-mcp", "specwise-mcp"],
      "env": { "RAPIDAPI_KEY": "your-rapidapi-key" }
    }
  }
}

Claude Code:

claude mcp add specwise --env RAPIDAPI_KEY=your-rapidapi-key -- uvx --from bytestay-specwise-mcp specwise-mcp

Environment

variable meaning
RAPIDAPI_KEY your RapidAPI key
API_MARKET_KEY your api.market key, used when RAPIDAPI_KEY is not set
HFL_MARKETPLACE rapidapi or apimarket, when both keys are set

Without a key the server still starts. The first tool call then explains where to get one.

Also listed on Glama:

specwise-mcp on Glama

3. Tools

tool what it does
validate_openapi(spec=… | spec_path=…) every error with its JSON Pointer, line and column, plus lint warnings (OpenAPI 3.x and Swagger 2.0)
diff_openapi(...) each change between two OpenAPI 3.x versions is breaking, warning, non-breaking or info, with a semver suggestion
validate_json_schema(schema=… | schema_path=…, instance=… | instance_path=…, draft=None) checks the schema against its meta-schema and, if given, the data against the schema

diff_openapi takes the two versions in one of three ways:

  • base and revision as text;
  • base_path and revision_path as files;
  • revision_path with base_git_ref. For example, after editing a spec: revision_path="openapi.yaml", base_git_ref="main".

Every tool returns the API's JSON response.

  • When the marketplace reports it, quota_remaining is added: the requests left on your plan this month.
  • Errors are explained in plain words, with what to do next:
    • key refused, with the link to subscribe;
    • quota reached, with the plans;
    • input the API couldn't process, with the API's reason.

Privacy

  • Local files are read only when a tool is given their path. They are sent to the API for that one request.
  • The API processes inputs in memory and doesn't store them. See the privacy policy.
  • Your key is only sent to the marketplace you chose.

Limits

  • Documents up to about 900 KiB each.
  • External $refs are not fetched. Bundle multi-file specs first (redocly bundle).
  • The diff needs OpenAPI 3.x; Swagger 2.0 can be validated, not diffed.
  • The server needs Python 3.10+ (uv installs it for you).

Development

uv venv && uv pip install -e ".[dev]"
.venv/bin/pytest            # unit tests, no network; 100% coverage required
.venv/bin/ruff check src tests scripts

scripts/e2e_stdio.py specwise runs the server over stdio, as a client would, and calls its tools against the real API. It needs RAPIDAPI_KEY or API_MARKET_KEY.

Licence

MIT. Specwise itself is a paid API with a free plan, run by ByteStay.

Metadata

Release files for bytestay-specwise-mcp 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bytestay-specwise-mcp 0.2.5
File Size Uploaded Provenance Actions
bytestay_specwise_mcp-0.2.5.tar.gz 15.0 kB With provenance Details for bytestay_specwise_mcp-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bytestay-specwise-mcp 0.2.5
File Interpreter ABI Platform Actions
bytestay_specwise_mcp-0.2.5-py3-none-any.whl Python 3 none any Details for bytestay_specwise_mcp-0.2.5-py3-none-any.whl

Total release size: 24.9 kB

Release files / bytestay_specwise_mcp-0.2.5.tar.gz

Download URL bytestay_specwise_mcp-0.2.5.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ac37f14ebfd90a219704622ebdab9709f45a7c8eed093c5c414ba56d65cc8722
BLAKE2b-256 checksum
How to use checksums
f97e84cf09b076631cb479ff1f27812770c2c497865015311c26e4ae673ce9d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / bytestay_specwise_mcp-0.2.5-py3-none-any.whl

Download URL bytestay_specwise_mcp-0.2.5-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b5a38bc2b40e99695e0576e5a5406989365f4eea103476bd41b5fffc6422a0f
BLAKE2b-256 checksum
How to use checksums
8c7a48285f7fe4113297e0f8e2aeb48316e91196f44e2abc47eedb3edc275e4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for bytestay-specwise-mcp 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bytestay_specwise_mcp-0.2.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page