API & MCP

Everything a person can do on Pinquest, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • GET https://pinquest.usefulweb.site/api/v1/tools – catalog
  • GET https://pinquest.usefulweb.site/api/v1/tools/{id} – inputs, output schema, examples
  • POST https://pinquest.usefulweb.site/api/v1/tools/{id}/calculate – run a tool
  • GET https://pinquest.usefulweb.site/api/v1/workflows · POST https://pinquest.usefulweb.site/api/v1/workflows/{id}/run
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Tools on Pinquest

  • Pinball Table Checker – Validate a Pinquest pinball table and prove every mission goal can be reached by a bot. pinquest_table_check
  • Pinball Score Simulator – Play whole Pinquest pinball games with a bot: score spread, missions finished and a ball heat map. pinquest_score_sim
  • Pinball Flipper Shot Map – Where does a pinball flipper shot go? Paths and first switches for spots along a Pinquest flipper. pinquest_shot_map

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://pinquest.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: pinquest_table_check, pinquest_score_sim, pinquest_shot_map
  • Local stdio connector: node src/mcp-stdio.ts
{
  "mcpServers": {
    "usefulweb": { "type": "http", "url": "https://pinquest.usefulweb.site/mcp" }
  }
}