โšก AgentIndex | AI Agents, MCP Servers & B2B Micro-SaaS Registry
Agent Discovery Protocols Verdict: Combine /llms.txt (Read Discovery) + MCP (Typed Execution)

/llms.txt vs MCP JSON-RPC 2.0 vs OpenAPI 3.1 Actions: Token Overhead & Agent Accuracy Benchmark

Direct Answer โ€ข 2026 Architecture & FinOps Verdict For read-only documentation discovery, /llms.txt reduces input payload tokens by 84%โ€“93% compared to raw HTML DOM scraping (~1,800 vs ~28,000 tokens). For stateful tool execution, MCP JSON-RPC 2.0 cuts schema bloat by 55%โ€“70% versus raw OpenAPI 3.1 YAML/JSON specs while standardizing multi-tool discovery.

Side-by-Side Quantitative Engineering Matrix

Option Transport & Architecture Context Token Overhead Median Latency Monthly TCO & Production Fit
/llms.txt & /llms-full.txt Static UTF-8 Markdown index over CDN HTTP GET 900 โ€“ 3,200 tokens (index) 8โ€“22 ms P50 (CDN edge cached) ~$2.25 / 1K GPT-5 lookups โ€ข Best for read-only docs & grounding
MCP JSON-RPC 2.0 (/mcp) tools/list + tools/call JSON Schema envelope 1,200 โ€“ 3,800 tokens (8 tools) 20โ€“65 ms P50 (live execution) ~$4.10 / 1K calls (cached schema) โ€ข Best for typed agent actions
Raw OpenAPI 3.1 JSON Spec Full REST path/component/header/error schema tree 6,500 โ€“ 24,000+ tokens 30โ€“95 ms P50 + higher LLM TTFT $14โ€“$42 / 1K uncached sessions โ€ข Enterprise API codegen

Production Architecture & FinOps Decision Rules

โšก OmniToolCalc FinOps Calculators โ†’ โšก Profound AI Search & Citation Analytics โ†’ ๐Ÿงฎ Interactive LLM Token Cost & Prompt Cache Calculator โ†’ โŒจ๏ธ Test via MCP CLI โ†’

Frequently Asked Engineering Questions

Does /llms.txt replace an MCP server?

Noโ€”they solve complementary layers. /llms.txt is a static, cacheable Markdown map for reading documentation and canonical links, while MCP is an executable JSON-RPC 2.0 interface for invoking live tools and queries.

How much cheaper is /llms.txt than scraping raw web HTML?

A typical modern web page carries 25,000 to 65,000 tokens of scripts, inline styles, and navigation chrome. Serving a 2,000-token /llms.txt cuts LLM input spend by ~92%.

Can OpenAPI 3.1 specs be converted into MCP tools automatically?

Yes, curated OpenAPI operations can be projected into compact MCP tools by stripping redundant HTTP transport headers and merging verbose component refs into flat JSON Schema input objects.

Related 1v1 MCP & AI Infrastructure Benchmarks

View All 12 Matrices โ†’
Streamable HTTP MCP vs Local stdio MCP Streamable HTTP for Cloud/Multi-Tenant โ€ข stdio for Local IDE Compare โ†’ Firecrawl MCP vs Jina Reader vs Playwright MCP Firecrawl for Crawl/Extract โ€ข Jina for Fast URL->MD โ€ข Playwright for Auth UI Compare โ†’ Claude Code vs Cursor vs Windsurf FinOps Claude Code for Deep Multi-File CLI โ€ข Cursor for Interactive Tab+Diff Compare โ†’ n8n AI Agents vs CrewAI vs LangGraph LangGraph for Deterministic Cycles โ€ข n8n for 400+ SaaS Ops โ€ข CrewAI for Role Teams Compare โ†’