API-to-MCP Converter
Converts any REST API into MCP-compatible tools instantly by providing an OpenAPI/Swagger spec, enabling seamless integration with AI agents.
README
API-to-MCP Converter 🔄
Convert any REST API into MCP-compatible tools instantly. Provide an OpenAPI/Swagger spec and get ready-to-use MCP tool definitions.
Why
Every company has REST APIs. AI agents need MCP tools. This bridge converts one into the other automatically — no coding required.
Features
- Instant Conversion — OpenAPI 3.x and Swagger 2.0 support
- All Methods — GET, POST, PUT, PATCH, DELETE
- Parameter Extraction — Query, path, body parameters auto-detected
- Persistent Storage — Converted APIs saved locally for reuse
- Community Sharing — Share conversions for others to discover
- Search — Find previously converted APIs
Installation
pip install api-to-mcp-converter
Usage
{
"mcpServers": {
"api-converter": {
"command": "uvx",
"args": ["api-to-mcp-converter"]
}
}
}
Tools
| Tool | Description |
|---|---|
convert_api |
Convert an OpenAPI spec URL to MCP tools |
list_converted_apis |
List all converted APIs |
get_api_tools |
Get MCP tool definitions for an API |
search_converted_apis |
Search converted APIs |
share_conversion |
Share a conversion with the community |
Examples
"Convert the Petstore API: https://petstore3.swagger.io/api/v3/openapi.json"
"What APIs have I converted?"
"Show me the tools for the petstore API"
More MCP Servers by AiAgentKarl
| Category | Servers |
|---|---|
| 🔗 Blockchain | Solana |
| 🌍 Data | Weather · Germany · Agriculture · Space · Aviation · EU Companies |
| 🔒 Security | Cybersecurity · Policy Gateway · Audit Trail |
| 🤖 Agent Infra | Memory · Directory · Hub · Reputation |
| 🔬 Research | Academic · LLM Benchmark · Legal |
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.