API & MCP

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

HTTP API

  • GET https://aiinfra.usefulweb.site/api/v1/tools – catalog
  • GET https://aiinfra.usefulweb.site/api/v1/tools/{id} – inputs, output schema, examples
  • POST https://aiinfra.usefulweb.site/api/v1/tools/{id}/calculate – run a tool
  • GET https://aiinfra.usefulweb.site/api/v1/workflows · POST https://aiinfra.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 AI infrastructure & agent explorers

  • Agent Permission Graph – See what your AI agent can reach: MCP servers, commands, files, network and secrets – with risks. agent_permission_graph
  • AI Agent Tool Explorer – Index of tools AI agents can call: this site, the MCP Registry or your definitions, by capability. ai_agent_tool_explorer
  • AI Model Compatibility Explorer – Which LLMs take images, audio or files, fit your context and support tools or structured outputs? ai_model_compatibility_explorer
  • AI Tool-Call Trace Explorer – Paste an agent transcript: see every tool call in order, with errors, timings, retries and loops. tool_call_trace_explorer
  • AI Website Readiness Explorer – Can ChatGPT, Claude, Perplexity and AI agents read your website? Explainable score. ai_website_readiness_explorer
  • LLM Cost Explorer – Monthly LLM API cost per model for your workload, with prompt-caching and batch savings. llm_cost_explorer
  • MCP Server Explorer – Inspect any MCP server before you connect an AI agent: tools, permissions, risks, changes over time. mcp_server_explorer
  • Model Behavior Regression Explorer – Compare eval results of two model versions: accuracy, regressions, McNemar p-value, flaky items. model_behavior_regression_explorer
  • RAG Citation Debugger – Check a RAG answer's citations against the retrieved chunks: uncited claims, wrong sources, numbers. rag_citation_debugger
  • Structured Output Validator – Validate AI JSON output against a JSON Schema: parse errors with line/column, plain-language fixes. structured_output_validator

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://aiinfra.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: agent_permission_graph, ai_agent_tool_explorer, ai_model_compatibility_explorer, tool_call_trace_explorer, ai_website_readiness_explorer, llm_cost_explorer, mcp_server_explorer, model_behavior_regression_explorer, rag_citation_debugger, structured_output_validator
  • Local stdio connector: node src/mcp-stdio.ts
{
  "mcpServers": {
    "usefulweb": { "type": "http", "url": "https://aiinfra.usefulweb.site/mcp" }
  }
}