Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables AI assistants to search Google, Maps, Trends, and other web data through JustSerpAPI endpoints. Supports natural language queries, endpoint discovery, pagination, and schema inspection.

README.md

JustSerpAPI MCP Server

Use JustSerpAPI from Codex, Claude Desktop, Cursor, and other MCP-compatible AI assistants.

This MCP server helps your assistant find the right JustSerpAPI endpoint, inspect the required parameters, call the API, and continue paginated results when the API returns a next-page token or offset.

Quick Start

Remote HTTP

Remote HTTP is the recommended setup.

{
  "mcpServers": {
    "justserpapi": {
      "url": "https://mcp.justserpapi.com/mcp",
      "headers": {
        "Authorization": "Bearer your_api_key"
      }
    }
  }
}

Local stdio

You can also run the MCP server locally with npx.

{
  "mcpServers": {
    "justserpapi": {
      "command": "npx",
      "args": ["-y", "justserpapi-mcp"],
      "env": {
        "JUSTSERPAPI_API_KEY": "your_api_key"
      }
    }
  }
}

Supported Clients

JustSerpAPI MCP works with MCP-compatible clients that support remote HTTP or local stdio servers, including:

  • Codex
  • Claude Desktop
  • Cursor
  • Claude Code
  • OpenAI Agents SDK
  • Other MCP-compatible AI assistants

Authentication

Use your JustSerpAPI API key:

Authorization: Bearer your_api_key

For local stdio, set:

JUSTSERPAPI_API_KEY=your_api_key

Available Tools

  • search_endpoints: Find the best JustSerpAPI endpoint from a natural-language request.
  • get_endpoint_schema: Inspect required parameters, optional parameters, and pagination hints.
  • call_endpoint: Call a JustSerpAPI endpoint and return raw JSON data.
  • get_account_balance: Check your subscription and remaining credits.
  • get_usage_summary: Review recent API usage, consumed credits, and endpoint trends.
  • list_services: List available services such as Google Search, Google Maps, Google Trends, and Web.
  • refresh_catalog: Refresh the endpoint catalog from JustSerpAPI docs.

Example Prompts

Ask your AI assistant naturally:

Find the Google search API and show me the required parameters.
Search Google for "best running shoes" in the United States.
Find the Google Maps reviews endpoint and tell me how to request the next page.
Get Google Trends trending-now results for the US.
Find the Google Shopping search API and call it for "iphone 16 case".
Convert this web page to Markdown: https://example.com
Continue to the next page of the previous JustSerpAPI result.
Check my remaining JustSerpAPI credits.
Show my API usage for the last 30 days.
The API returned code 402. Explain what it means and what I should check.

Response Format

call_endpoint returns the JustSerpAPI response data as raw JSON. Large arrays and long text fields may be shortened so the AI assistant can read the result reliably. When that happens, the response includes truncated: true and the paths that were shortened.

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.