Semantic API
Natural language API discovery — search 700+ API capabilities, get endpoints, auth setup, and code snippets.
Semantic API MCP Server
An MCP (Model Context Protocol) server that lets Claude, ChatGPT, and other LLM agents search and discover APIs using natural language via Semantic API. Ask for any API capability in plain English and get back endpoint details, parameters, auth info, and code snippets.
Install
pip install semanticapi-mcp
Or run directly with uvx:
uvx semanticapi-mcp
Configuration
Get an API Key
Sign up at semanticapi.dev to get your API key.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
SEMANTIC_API_KEY | Yes | — | Your Semantic API key |
SEMANTIC_API_URL | No | https://semanticapi.dev | API base URL override |
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"semanticapi": {
"command": "uvx",
"args": ["semanticapi-mcp"],
"env": {
"SEMANTIC_API_KEY": "your-api-key-here"
}
}
}
}
Or if installed with pip:
{
"mcpServers": {
"semanticapi": {
"command": "semanticapi-mcp",
"env": {
"SEMANTIC_API_KEY": "your-api-key-here"
}
}
}
}
Tools
semantic_query
Search for an API capability using natural language.
Inputs:
query(string, required) — What you want to do, e.g. "send an email with Gmail"auto_discover(boolean, optional, default: true) — Auto-discover new APIs if needed
Example: "Find me an API to convert currencies in real-time"
semantic_discover
Deep discovery of a specific provider/API by name and intent.
Inputs:
provider_name(string, required) — API provider name, e.g. "stripe", "twilio"user_intent(string, optional) — What you want to do with this API
Example: Discover Stripe's capabilities for "process a refund"
semantic_discover_url
Analyze any API from its documentation URL.
Inputs:
url(string, required) — URL of the API documentationuser_intent(string, optional) — What you want to do with this API
Example: Analyze https://docs.example.com/api to generate a provider config
Related
- Semantic API — The hosted API service
- semanticapi-engine — Open source engine (AGPL-3.0)
- semantic-api-skill — Agent framework skill package
- CLI Tool — Command-line interface (
pip install semanticapi-cli)
License
MIT
Related Servers
Mastra Docs Server
Provides AI assistants with direct access to Mastra.ai's complete knowledge base.
MCP Compass
Explore and discover Model Context Protocol servers using natural language queries.
Tarteel MCP Server
Quran-focused MCP server for ayah translation, tafsir, mutashabihat lookups, recitation playlists, and prayer times.
Embedding MCP Server
An MCP server powered by txtai for semantic search, knowledge graphs, and AI-driven text processing.
Naver Search
Search across various Naver services and analyze data trends using the Naver Search and DataLab APIs.
JinaAI Grounding
Enhances LLM responses with factual, real-time web content using Jina AI's grounding capabilities.
Manticore Search
Provides access to Manticore Search, an open-source database for real-time, full-text search.
Shodan
Query Shodan's database of internet-connected devices and vulnerabilities using the Shodan API.
Google Scholar
Search and access academic papers on Google Scholar.
Google Research
Perform advanced web research using Google Search, with intelligent content extraction and multi-source synthesis.