Skip to main content

Claude Code Integration

Use apitree APIs directly from Claude Code with the MCP Server. Your AI assistant discovers and calls APIs automatically.

Setup

# Add apitree's Remote MCP endpoint to Claude Code
claude mcp add --transport http apitree https://apitree.ai/api/mcp

Usage Examples

Once installed, just ask Claude Code naturally:

> "Find an API for user geolocation data"
  → Claude calls search_apis({ intent: "user geolocation" })
  → Returns: ip-geolocation API (match 0.94)

> "Get the location for IP 8.8.8.8 using apitree"
  → Claude calls call_api({ api_id: "ip-geolocation", path: "8.8.8.8/json", apitree_token: "nxs_live_..." })
  → Returns: { city: "Mountain View", country: "US", ... }

> "What APIs does apitree have for financial data?"
  → Claude calls search_apis({ intent: "financial data", category: "financial" })
  → Returns: list of matching financial APIs

How It Works

Claude Code detects the apitree MCP Server and gains access to all 15 tools — including search_apis, call_api, and get_api_details. When you describe what you need, Claude automatically selects the right tool and API.

apitree · AI-Native API Marketplace