{"repo":"dbgorilla/openapi-cli4ai","free":true,"listed":false,"github":"https://github.com/dbgorilla/openapi-cli4ai","clone":"git clone https://github.com/dbgorilla/openapi-cli4ai.git","description":"AI agent CLI for any REST API. Pull-based discovery via OpenAPI specs. No schema injection.","language":"Python","stars":13,"topics":["agent-tools","ai-agents","automation","claude-code","cli","openapi","python","rest-api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Let your AI coding agent (Claude Code, Cursor, Codex, Copilot) talk to any REST API. No MCP servers. No schemas in the prompt. Just point it at a URL and let it fly. Install Requires: uv Quick Start How It Works The agent uses endpoints to discover what's available, then call to hit the right endpoint with the right parameters. That's the entire integration. The agent already knows how to use a CLI — you just give it this one and point it at your API. Why Not MCP? Every MCP tool you connect injects its schema into the prompt. Every parameter, every description, every type definition. Connect a few MCP servers and your agent is burning tokens on tool descriptions before it even starts thinking about your task. For large API surfaces, there's a better pattern: pull-based discovery . Nothing is injected into the prompt upfront. The agent pulls what it needs, when it needs it. It sees a compact endpoint index, picks the right endpoint, and calls it. This works with APIs of any size — including 10MB+ specs — without stuffing everything into context. This isn't MCP vs. OpenAPI. It's about having both tools and reaching for the right one. For quick integrations, MCP is great. For large or unfamiliar API surfaces, an OpenAPI spec and a thin CLI is the better play. Commands init — Point it at an API run — Run an operation by name The spec tells the tool where each parameter goes (path, query, header, body). You just pass a flat JSON object. endpoints — Discover API endpoints call — Ca","default_branch":null,"files":null,"tree":[],"storefront":"/r/dbgorilla","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dbgorilla/openapi-cli4ai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}