Skip to main content

MCP server for Semantic API — search and discover APIs using natural language

Project description

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 documentation
  • user_intent (string, optional) — What you want to do with this API

Example: Analyze https://docs.example.com/api to generate a provider config

Related

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semanticapi_mcp-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semanticapi_mcp-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file semanticapi_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: semanticapi_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for semanticapi_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 677adc656b5cad745b2056fb3d931b4bad8fb505d32bc64ec9c6192d19c89b65
MD5 d2dc20fc42f0a6610724493d1d91e828
BLAKE2b-256 d00d755c511bbfe1235ecbecdcfd3ef6b29a4a5e48183240b6de0e1177a144e6

See more details on using hashes here.

File details

Details for the file semanticapi_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for semanticapi_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ebcfb3b95adaba861f2034c01d2867bf5d6d5da6f612d5ded3d16e3d16f2344b
MD5 963baafc71c5cd2b4892417a6fab44e4
BLAKE2b-256 b5b94a836bac8502bc2d97d3bf808fa61389ddab6519f70e683fe4fcd112c163

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page