Servidor MCP

FactReason

io.github.factreason/factreason

Qué hace este MCP

Provides evidence-backed research on third-party APIs, npm and PyPI upgrades, API changes, specifications, and electronics component details.

factreason_api_breaking_changes
API breaking changes
Compare two versions of a third-party API and return breaking changes, including removed endpoints, parameter type changes, removed request body fields, and migration guides. Use factreason_package_upgrade_advisory for npm or PyPI packages.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'required': ['service'], 'properties': {'service': {'type': 'string', 'minLength': 1, 'description': 'Third-party API service, e.g. "Stripe" or "OpenAI"'}, 'toVersion': {'type': 'string', 'minLength': 1, 'description': 'Optional exact version being evaluated'}, 'fromVersion': {'type': 'string', 'minLength': 1, 'description': 'Optional exact version currently targeted'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'found': {'type': 'boolean'}, 'billed': {'type': 'boolean'}, 'changes': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'meaning': {'type': 'string'}, 'message': {'type': 'string'}, 'service': {'type': 'string'}, 'suggestion': {'type': 'string'}, 'changeCount': {'type': 'number'}, 'alternatives': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': True}
factreason_api_schema
API schema search
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.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'properties': {'query': {'type': 'string', 'minLength': 1, 'description': 'Optional endpoint path or operation, e.g. "payment_intents"'}, 'service': {'type': 'string', 'minLength': 1, 'description': 'Optional service filter, e.g. "Stripe"'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'hint': {'type': 'string'}, 'found': {'type': 'boolean'}, 'message': {'type': 'string'}, 'results': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'totalMatched': {'type': 'number'}, 'nearestServices': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': True}
factreason_auth_playbook
Auth and error playbook
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.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'required': ['service'], 'properties': {'service': {'type': 'string', 'minLength': 1, 'description': 'Third-party API service, e.g. "Stripe", "Twilio", or "Cloudflare"'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'found': {'type': 'boolean'}, 'compact': {'type': 'object', 'additionalProperties': True}, 'message': {'type': 'string'}, 'playbook': {'type': 'object', 'additionalProperties': True}, 'nearestServices': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': True}
factreason_component_spec
Component specification
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.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'anyOf': [{'required': ['partNumber']}, {'required': ['query']}], 'properties': {'query': {'type': 'string', 'minLength': 1, 'description': 'Free-text capability search, e.g. "3.3V ARM MCU with SPI"'}, 'partNumber': {'type': 'string', 'minLength': 1, 'description': 'Exact part number, e.g. "STM32F401RE"'}, 'responseFormat': {'enum': ['full', 'compact'], 'type': 'string', 'default': 'full', 'description': 'Use compact for an exact part lookup; full preserves the legacy data response'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'data': {'type': 'object', 'additionalProperties': True}, 'hint': {'type': 'string'}, 'found': {'type': 'boolean'}, 'compact': {'type': 'string'}, 'message': {'type': 'string'}, 'results': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'partNumber': {'type': 'string'}, 'provenance': {'type': 'object', 'additionalProperties': True}, 'qualityScore': {'type': 'number'}, 'tokenMetrics': {'type': 'object', 'properties': {'encoding': {'type': 'string', 'const': 'o200k_base'}, 'fullTokens': {'type': 'number'}, 'savedTokens': {'type': 'number'}, 'reductionPct': {'type': 'number'}, 'compactTokens': {'type': 'number'}}, 'additionalProperties': False}, 'totalMatched': {'type': 'number'}, 'nearestMatches': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}}, 'additionalProperties': True}
factreason_create_key
Create an API key
Get a FactReason API key for yourself, instantly, with no human, no signup and no card. Returns a key carrying one-off trial credit that you can spend immediately on any tool. CALL THIS FIRST if you have no key, or as soon as any FactReason tool returns HTTP 402 Payment Required — then retry the original call with the key. The tool is free and is never metered. Supplying an email is optional and only affects whether trial credit is granted; a key is always issued either way.
Esquema de entrada
{'type': 'object', 'required': [], 'properties': {'email': {'type': 'string', 'description': "Optional contact address for the key owner. Improves the chance of receiving trial credit and lets the operator reach you about corrections. Never send a human's address without their agreement."}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'note': {'type': 'string'}, 'error': {'type': 'string'}, 'apiKey': {'type': 'string'}, 'created': {'type': 'boolean'}, 'howToUse': {'type': 'string'}, 'topupUrl': {'type': 'string', 'format': 'uri'}, 'trialGranted': {'type': 'boolean'}, 'trialCreditUsd': {'type': 'number'}}, 'additionalProperties': True}
factreason_create_topup_link
Create a top-up link
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.
Acceso externo
Esquema de entrada
{'type': 'object', 'required': ['amountUsd'], 'properties': {'amountUsd': {'type': 'number', 'maximum': 1000, 'minimum': 1, 'description': 'Credit amount in USD; common blocks are 10, 50, and 200'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'error': {'type': 'string'}, 'created': {'type': 'boolean'}, 'amountUsd': {'type': 'number'}, 'balanceUrl': {'type': 'string', 'format': 'uri'}, 'checkoutUrl': {'type': 'string', 'format': 'uri'}, 'createKeyUrl': {'type': 'string', 'format': 'uri'}, 'instructions': {'type': 'string'}}, 'additionalProperties': True}
factreason_deprecation_scan
Deprecation scan
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.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'properties': {'service': {'type': 'string', 'minLength': 1, 'description': 'Optional service filter, e.g. "Stripe" or "Twilio"'}, 'endpoints': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1, 'description': 'Optional endpoint paths to check within the selected service'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'count': {'type': 'number'}, 'found': {'type': 'boolean'}, 'message': {'type': 'string'}, 'results': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}}, 'additionalProperties': True}
factreason_discover_api
Discover an API
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.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'required': ['capability'], 'properties': {'capability': {'type': 'string', 'minLength': 2, 'description': 'Capability to search for, e.g. "send an SMS" or "charge a card"'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'hint': {'type': 'string'}, 'count': {'type': 'number'}, 'found': {'type': 'boolean'}, 'billed': {'type': 'boolean'}, 'message': {'type': 'string'}, 'results': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'nextStep': {'type': 'string'}, 'capability': {'type': 'string'}}, 'additionalProperties': True}
factreason_integration_brief
Integration brief
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.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'required': ['service'], 'properties': {'service': {'type': 'string', 'minLength': 1, 'description': 'Third-party API service, e.g. "Stripe" or "Twilio"'}, 'endpoint': {'type': 'string', 'minLength': 1, 'description': 'Optional path or operation fragment used to select one call'}, 'responseFormat': {'enum': ['full', 'compact'], 'type': 'string', 'default': 'full', 'description': 'Use compact for the callable facts only; full preserves the legacy brief response'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'hint': {'type': 'string'}, 'brief': {'type': 'object', 'additionalProperties': True}, 'found': {'type': 'boolean'}, 'billed': {'type': 'boolean'}, 'compact': {'type': 'string'}, 'message': {'type': 'string'}, 'service': {'type': 'string'}, 'tokenMetrics': {'type': 'object', 'properties': {'encoding': {'type': 'string', 'const': 'o200k_base'}, 'fullTokens': {'type': 'number'}, 'savedTokens': {'type': 'number'}, 'reductionPct': {'type': 'number'}, 'compactTokens': {'type': 'number'}}, 'additionalProperties': False}, 'nearestServices': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': True}
factreason_package_upgrade_advisory
Package upgrade advisory
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 every API key carries one-off trial credit. Use it for package metadata; use factreason_api_breaking_changes for a third-party HTTP API, and consult changelogs for behavioural changes.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', 'required': ['registry', 'name', 'from', 'to'], 'properties': {'to': {'type': 'string', 'minLength': 1, 'description': 'Exact target version, e.g. "5.0.0"'}, 'from': {'type': 'string', 'minLength': 1, 'description': 'Exact currently installed version, e.g. "4.1.2"'}, 'name': {'type': 'string', 'minLength': 1, 'description': 'Exact package name, e.g. "chalk" or "urllib3"'}, 'registry': {'enum': ['npm', 'pypi'], 'type': 'string', 'description': 'Registry containing both package versions'}, 'responseFormat': {'enum': ['full', 'compact'], 'type': 'string', 'default': 'full', 'description': 'Use compact to remove repeated prose and fields while retaining evidence; full preserves the legacy response contract'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'found': {'type': 'boolean'}, 'scope': {'type': 'string'}, 'billed': {'type': 'boolean'}, 'message': {'type': 'string'}, 'toVersion': {'type': 'string'}, 'advisories': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'fromVersion': {'type': 'string'}, 'packageName': {'type': 'string'}, 'tokenMetrics': {'type': 'object', 'properties': {'encoding': {'type': 'string', 'const': 'o200k_base'}, 'fullTokens': {'type': 'number'}, 'savedTokens': {'type': 'number'}, 'reductionPct': {'type': 'number'}, 'compactTokens': {'type': 'number'}}, 'additionalProperties': False}, 'advisoryCount': {'type': 'number'}, 'breakingCount': {'type': 'number'}}, 'additionalProperties': True}
factreason_subscribe_spec_changes
Watch a specification
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.
Acceso externo Idempotente
Esquema de entrada
{'type': 'object', 'required': ['serviceName'], 'properties': {'webhookUrl': {'type': 'string', 'format': 'uri', 'description': 'Optional public HTTP(S) URL for signed change callbacks; omit to poll'}, 'serviceName': {'type': 'string', 'maxLength': 200, 'minLength': 1, 'description': 'Service name to watch, e.g. "Stripe" or "SendGrid"'}}, 'additionalProperties': False}
Esquema de salida
{'type': 'object', 'properties': {'error': {'type': 'string'}, 'watch': {'type': 'object', 'properties': {'id': {'type': 'string'}, 'createdAt': {'type': 'string'}, 'webhookUrl': {'type': 'string', 'format': 'uri'}, 'serviceName': {'type': 'string'}}, 'additionalProperties': True}, 'success': {'type': 'boolean'}}, 'additionalProperties': True}
Añadido
factreason_subscribe_spec_changes
17 de September de 2026 a las 12:41
Añadido
factreason_auth_playbook
17 de September de 2026 a las 12:41
Añadido
factreason_deprecation_scan
17 de September de 2026 a las 12:41
Añadido
factreason_component_spec
17 de September de 2026 a las 12:41
Añadido
factreason_create_topup_link
17 de September de 2026 a las 12:41
Añadido
factreason_create_key
17 de September de 2026 a las 12:41
Añadido
factreason_discover_api
17 de September de 2026 a las 12:41
Añadido
factreason_integration_brief
17 de September de 2026 a las 12:41
Añadido
factreason_api_schema
17 de September de 2026 a las 12:41
Añadido
factreason_api_breaking_changes
17 de September de 2026 a las 12:41
Añadido
factreason_package_upgrade_advisory
17 de September de 2026 a las 12:41