Skip to content
Getting Started

Getting started with SearchMCP

The fast, reliable Google Search API and MCP server for agents & apps. This quickstart helps you create an API key and run your first SERP request.

1. Prerequisites
2. First REST API Request

The REST endpoint is https://api.searchmcp.io. Authenticate with a Bearer token:

curl -sS https://api.searchmcp.io/v1/search \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  --data '{"q":"site:openai.com policy changes","num":5}'

Replace <YOUR_API_KEY> with your key from Dashboard → API Keys.

3. Connect via MCP Server

Use the MCP server (SSE) to wire SearchMCP into LLM agents/tools:

{
  "mcpServers": {
    "searchmcp": {
      "url": "https://api.searchmcp.io/mcp",
      "apiKey": "<YOUR_API_KEY>"
    }
  }
}
Next steps