Ratatoskr

•

Generate no-code MCP servers from various API specifications, compressing responses and intelligently pruning large payloads for AI agents.

Ratatoskr streamlines the process of exposing existing APIs to AI agents by automatically generating Model Context Protocol (MCP) servers from OpenAPI, GraphQL, or Protobuf specifications without requiring any custom code. It enhances LLM interaction by applying Token-Optimized Output Notation (TOON) compression to API responses, significantly reducing token usage and improving reasoning quality. Furthermore, an integrated AI agent intelligently prunes large API payloads to extract only the most relevant data and includes untrusted-schema markers to mitigate prompt injection risks, ensuring efficient and secure data consumption for AI applications.

Key Features

01Zero-code MCP server generation from OpenAPI, GraphQL, or Protobuf specs
02TOON compression for API responses, reducing tokens by 30-60%
03AI agent for intelligent response pruning and prompt injection detection
04SQL post-processing on API data (rankings, filters, JOINs) even if not supported by the API
05Polyglot LLM support for OpenAI, Anthropic, and OpenAI-compatible models
060 GitHub stars

Use Cases

01Automatically exposing any GraphQL or REST API as an MCP server for AI agents
02Querying complex API data with natural language and performing SQL operations that the original API might not support
03Optimizing LLM token usage and reasoning quality when interacting with APIs that return large or verbose JSON payloads