MCP Server

FactGrid (Renamed to FactReason)

io.github.factgridai/factgrid
Developer Tools Knowledge & Documentation Public & reachable MCP 2026-07-28

What this MCP does

Provides FactReason tools for researching third-party API schemas, authentication, breaking changes, deprecations, package upgrades, and electronics components.

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.
Read only Idempotent
Input schema
{'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}
Output schema
{'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.
Read only Idempotent
Input schema
{'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}
Output schema
{'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.
Read only Idempotent
Input schema
{'type': 'object', 'required': ['service'], 'properties': {'service': {'type': 'string', 'minLength': 1, 'description': 'Third-party API service, e.g. "Stripe", "Twilio", or "Cloudflare"'}}, 'additionalProperties': False}
Output schema
{'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.
Read only Idempotent
Input schema
{'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}
Output schema
{'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.
Input schema
{'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}
Output schema
{'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.
Open world
Input schema
{'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}
Output schema
{'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.
Read only Idempotent
Input schema
{'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}
Output schema
{'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.
Read only Idempotent
Input schema
{'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}
Output schema
{'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.
Read only Idempotent
Input schema
{'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}
Output schema
{'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.
Read only Idempotent
Input schema
{'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}
Output schema
{'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.
Open world Idempotent
Input schema
{'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}
Output schema
{'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}
Added
factreason_subscribe_spec_changes
Sept. 17, 2026, 12:41 p.m.
Added
factreason_auth_playbook
Sept. 17, 2026, 12:41 p.m.
Added
factreason_deprecation_scan
Sept. 17, 2026, 12:41 p.m.
Added
factreason_component_spec
Sept. 17, 2026, 12:41 p.m.
Added
factreason_create_topup_link
Sept. 17, 2026, 12:41 p.m.
Added
factreason_create_key
Sept. 17, 2026, 12:41 p.m.
Added
factreason_discover_api
Sept. 17, 2026, 12:41 p.m.
Added
factreason_integration_brief
Sept. 17, 2026, 12:41 p.m.
Added
factreason_api_schema
Sept. 17, 2026, 12:41 p.m.
Added
factreason_api_breaking_changes
Sept. 17, 2026, 12:41 p.m.
Added
factreason_package_upgrade_advisory
Sept. 17, 2026, 12:41 p.m.