factreason
OfficialFactReason is an MCP server providing verified, Ed25519-signed reference data for AI agents before writing code. Tools:
Dependency upgrade advisories (
factreason_package_upgrade_advisory): breaking changes between npm/PyPI versions (yanked releases, exports, CJS/ESM, runtime/peer deps, licence) with before/after evidence.API breaking changes (
factreason_api_breaking_changes): what breaks between two versions of a third-party API.API schema lookup (
factreason_api_schema): exact request/response shape for an endpoint/version.Integration brief (
factreason_integration_brief): base URL, auth, required params, body, response codes for one call.API discovery (
factreason_discover_api): find which of 1,097+ services can perform a capability.Deprecation scan (
factreason_deprecation_scan): deprecated endpoints/params, sunset dates, replacements.Auth playbook (
factreason_auth_playbook): auth schemes, scopes, rate-limit headers, error codes.Component specs (
factreason_component_spec): pinouts, voltages, packages, alternatives by part number/search.Spec change subscriptions (
factreason_subscribe_spec_changes): webhook notifications when API specs change.Credit top-ups (
factreason_create_topup_link): Stripe checkout link to add prepaid credit when balance low or HTTP 402.
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., "@factreason what breaks if I upgrade chalk from 4.1.2 to 5.0.0?"
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.
Stop an agent shipping a broken dependency upgrade
Your agent wants to bump chalk from 4.1.2 to 5.0.0. Before it edits package.json, it asks what breaks:
GET /api/v1/packages/npm/chalk/advisory?from=4.1.2&to=5.0.0
Authorization: Bearer <key>{
"found": true,
"packageName": "chalk",
"fromVersion": "4.1.2",
"toVersion": "5.0.0",
"breakingCount": 2,
"advisories": [
{
"severity": "breaking",
"changeType": "MODULE_FORMAT_CHANGED",
"description": "chalk 5.0.0 changed module format from \"commonjs (undeclared)\" to \"module\". CommonJS require() of this package will now fail.",
"evidenceField": "type",
"evidenceBefore": null,
"evidenceAfter": "module",
"migrationHint": "Convert the call site to import(), or pin to the last CommonJS release."
},
{
"severity": "breaking",
"changeType": "RUNTIME_REQUIREMENT_RAISED",
"description": "chalk 5.0.0 raised its runtime requirement from \">=10\" to \"^12.17.0 || ^14.13 || >=16.0.0\". Older runtimes are no longer supported.",
"evidenceField": "engines.node",
"evidenceBefore": ">=10",
"evidenceAfter": "^12.17.0 || ^14.13 || >=16.0.0",
"migrationHint": "Confirm the deployment runtime satisfies the new floor before upgrading."
}
]
}Via MCP, the same question is one tool call:
{
"name": "factreason_package_upgrade_advisory",
"arguments": { "registry": "npm", "name": "chalk", "from": "4.1.2", "to": "5.0.0" }
}Set responseFormat: "compact" on supported heavy MCP tools to remove repeated fields and prose while retaining the facts an agent needs. Package advisories preserve evidenceField, evidenceBefore, evidenceAfter, and migrationHint. Each compact response includes tokenMetrics counted with o200k_base. The default remains full for compatibility, and compact output never bypasses authorization or changes the query price.
Token savings vary with the response. Metrics count one exact JSON structuredContent payload and include the tokenMetrics object itself; the matching text block remains for MCP clients that do not consume structured content yet. The private application repository also carries a repeatable npm run benchmark:tokens fixture so published claims can be checked before release.
Every finding carries evidenceField, evidenceBefore and evidenceAfter — the exact registry metadata field and its values either side of the change. An agent can verify the claim against npm or PyPI directly rather than taking our word for it.
An agent can call factreason_create_key to get its own key instantly — no human, no card, no signup. The agent can use the returned key straight away, in the same session, by passing it as the apiKey argument of any paid tool; no reconnect needed. A client that can set headers can put it on the MCP connection as an Authorization: Bearer header instead. Eligible new users may receive up to $0.05 of one-off trial credit, subject to grant budgets and spent at the published per-tier prices — up to about two advisory lookups, or fifty component lookups. Successful advisory lookups after that cost $0.02 per query. Misses are never billed and never consume trial credit. Wallet-equipped agents can pay the 402 challenge directly with x402 on Base.
Related MCP server: Ecosyste.ms Package Data
Connect
Streamable HTTP. No install, no package to pull.
{
"mcpServers": {
"factreason": {
"type": "http",
"url": "https://factreason.com/mcp"
}
}
}Manifest: /.well-known/mcp.json
Human quickstart and workflow guidance: /docs. Agents can fetch the same material as Markdown from /docs.md or use the complete index at /llms-full.txt.
The container/stdio bridge accepts an optional FACTREASON_API_KEY environment variable and forwards it as a Bearer
credential to the same live endpoint. Tool discovery works without a key; metered lookups return HTTP 402 when neither
a key nor a valid x402 payment is supplied.
Get a key — no signup, no card:
curl -X POST https://factreason.com/api/v1/keys/create \
-H 'Content-Type: application/json' \
-d '{"email":"you@example.com"}'Tools
Tool | What it answers |
| What breaks between two published npm/PyPI versions |
| Create a key; pass it as the |
| Exact request/response shape of an API endpoint at a version |
| What breaks between two versions of a third-party HTTP API |
| Everything needed to write one working call to an API |
| Which of 1,097 services can do X |
| Which endpoints are deprecated, sunset dates, replacements |
| Auth schemes, scopes, rate-limit headers, error-code table |
| Electronics component pinouts, voltages, packages |
| Webhook or polling callback when a spec changes |
| Stripe checkout link when credit runs out |
Proof-of-Fact Signatures
Successful REST data responses and MCP tool-call responses are signed by our Ed25519 private key:
X-Warehouse-Proof-Signature: Ed25519 signature of the response payloadX-Fact-Public-Key-Id: Stable signing key identifierX-Fact-Signature-Alg:EdDSA
Public keys are published and rotated via JWKS at https://factreason.com/.well-known/jwks.json.
Licence & Contact
MIT. Attribution requirement for APIs.guru source data: CC-BY 4.0.
Questions, support, or data reports: hello@factreason.com.
Available Tools
10 toolsfactreason_api_breaking_changesARead-onlyIdempotentInspect
Temporarily unavailable for third-party APIs while stored comparisons are revalidated; calls return an unbilled status and alternatives. When restored, this compares optional from/to API versions and returns removed endpoints, parameter changes, and migration notes. Use factreason_package_upgrade_advisory for npm or PyPI packages.
Inputs: service (required), toVersion, fromVersion. Returns: found, billed, changes, meaning, +5 more
factreason_api_schemaARead-onlyIdempotentInspect
Search exact request and response schemas for third-party API endpoints. Pass service alone to list its indexed endpoints, add query to narrow by path or operation, or use query alone across services; returns matches or nearest services. Uses metered access and does not modify source data. Prefer factreason_integration_brief for one callable request.
Inputs: query, service. Returns: hint, found, message, results, +2 more
factreason_auth_playbookARead-onlyIdempotentInspect
Get publisher-declared authentication schemes, scopes, rate-limit headers, and error codes for one third-party API. Returns a structured playbook or nearest service suggestions, and marks undocumented details as unstated rather than guessing. Uses metered access. Prefer factreason_integration_brief when assembling a complete API call.
Inputs: service (required). Returns: found, compact, message, playbook, +1 more
factreason_component_specARead-onlyIdempotentInspect
Look up electronics component pin assignments, voltage range, package, and alternatives. Pass exact partNumber for one component or query for a capability search; partNumber takes precedence if both are supplied. For exact lookups, set responseFormat="compact" for tokenizer-measured context savings; the backward-compatible default is "full". Uses metered access and returns matches or suggestions. Confirm critical values against the manufacturer datasheet.
Inputs: query, partNumber, responseFormat. Returns: data, hint, found, compact, +8 more
factreason_create_topup_linkAInspect
Create a Stripe Checkout URL for adding prepaid credit to the calling Bearer API key. This creates an external checkout session but does not charge a card. You CANNOT COMPLETE THE PAYMENT YOURSELF, so return the URL to a human, and credit is applied only after they complete payment. Use after HTTP 402 or when balance is low; the tool itself is not metered.
Inputs: amountUsd (required). Returns: error, created, amountUsd, balanceUrl, +3 more
factreason_deprecation_scanARead-onlyIdempotentInspect
Scan publisher specifications for deprecated endpoints or parameters, sunset dates, and replacement operations. Omit filters for the catalogue-wide view, pass service to limit one API, and add endpoints to check selected paths. Uses metered access when findings exist. Use factreason_api_breaking_changes for broader version-to-version changes.
Inputs: service, endpoints. Returns: count, found, message, results
factreason_discover_apiARead-onlyIdempotentInspect
Find third-party APIs for a capability when the provider is unknown. Supply a concise capability such as "sms" or "manage DNS"; returns ranked services, example endpoints, and a next step. Uses metered access. When the provider is already known, call factreason_integration_brief instead.
Inputs: capability (required). Returns: hint, count, found, billed, +4 more
factreason_integration_briefARead-onlyIdempotentInspect
Compile one callable third-party API brief: base URL, auth scheme, required parameters and types, request body, and documented response codes. Service is required and endpoint optionally narrows the operation. Set responseFormat="compact" for tokenizer-measured context savings; the backward-compatible default returns the full brief plus compact form. Uses metered access. Prefer factreason_api_schema when exploring multiple endpoints.
Inputs: service (required), endpoint, responseFormat. Returns: hint, brief, found, billed, +5 more
factreason_package_upgrade_advisoryARead-onlyIdempotentInspect
Compare two exact published npm or PyPI versions and return publisher-declared registry metadata changes, including yanks, exports, module format, runtime floors, peers, and licences, with before/after evidence. Set responseFormat="compact" for tokenizer-measured context savings; the backward-compatible default is "full". This is a read-only metered lookup; misses are never billed and API keys receive a daily free allowance. Use it for package metadata; use factreason_api_breaking_changes for a third-party HTTP API, and consult changelogs for behavioural changes.
Inputs: to (required), from (required), name (required), registry (required), +1 more. Returns: found, scope, billed, message, +7 more
factreason_subscribe_spec_changesAIdempotentInspect
Create a persistent specification watch for one service; a Bearer API key is required and each key may hold up to 50 watches. Without webhookUrl, read future events from the polling endpoint; with a public HTTP(S) URL, FactReason sends signed POST callbacks after later spec changes. Duplicate or unsafe webhook registrations are rejected. This does not ingest a specification immediately.
Inputs: serviceName (required), webhookUrl. Returns: error, watch, success
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct resource and action, with explicit cross-references to prevent confusion (e.g., api_schema vs integration_brief vs auth_playbook). The overlapping-looking deprecation_scan and api_breaking_changes are clearly differentiated as scan vs version comparison. Descriptions are precise and include guidance on when to use alternatives.
All tools share the factreason_ prefix and snake_case format, maintaining a predictable style. However, some names are noun phrases (package_upgrade_advisory) while others are verb phrases (discover_api), creating a minor inconsistency in verb_noun structure. Despite this, the pattern is uniform and readable.
With 10 tools, the set is well-scoped for the service's breadth, covering packages, APIs, components, and billing without unnecessary bloat. Each tool represents a distinct capability, and none feel redundant or superfluous. The count falls comfortably within the ideal range.
The tool surface covers a wide range of operations for packages, APIs, and components, including discovery, schema lookup, breaking changes, deprecations, auth, and subscription. Minor omissions exist, such as lack of a simple package metadata lookup or a way to fetch current versions, but core workflows are well-supported. The temporary unavailability of api_breaking_changes is a service state, not a design gap.
Maintenance
Related MCP Connectors
deps.dev MCP — Google's package metadata + dependency graph API.
Capability-routed CLI/MCP: signed provenance exports, WCAG-validated themes, sovereign deploy modes.
Dev-registry data: npm/PyPI/Docker/VS Code packages, dep graphs, vulns, 50+ ecosystems.
Software supply chain security: SBOMs, vulnerabilities, fixes, policies and compliance data.
Related MCP Servers
- AlicenseAqualityBmaintenanceA Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.265,338MIT
- AlicenseAqualityBmaintenanceEnables querying package ecosystem data from ecosyste.ms, including package metadata, versions, security advisories, dependencies, and repository information across 40+ package registries with fast local SQLite lookups and API fallback.1013 npm9MIT
- AlicenseAqualityDmaintenanceAn MCP server that queries 19 package registries (npm, PyPI, crates.io, etc.) to retrieve the latest version of packages and their metadata.211MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to retrieve the latest stable versions of packages and tools across multiple ecosystems, preventing outdated dependency versions in generated code.4245 PyPI9Apache 2.0