SERPHouse MCP Server

Обеспечивает AI-агентам и инструментам доступ к поисковым данным в реальном времени и большом объёме через унифицированный интерфейс Model Context Protocol.

Документация

SERPHouse logo

SERPHouse MCP Server

Connect AI assistants to live SERP data, Google verticals, and SEO intelligence — powered by SERPHouse.

Run Google searches, schedule SERP tasks, resolve locations, and query Jobs, Local, Videos, and more — directly from Cursor, VS Code, Claude Desktop, or any MCP-compatible client. No custom API integration required.


TypeScript 5+ MCP MIT License Install in VS Code Install in Cursor

Website GitHub LinkedIn


Table of Contents


Why SERPHouse MCP

18 MCP toolsLive SERP, scheduled tasks, Google verticals, and account lookups — all exposed with typed schemas
Zero glue codeYour assistant picks the right tool; you describe what you need in plain language
Hosted or self-hostedUse the managed endpoint at https://mcp.serphouse.com/mcp, or run the server on your own infrastructure
Built-in contextMCP resources (serphouse_capabilities, serphouse_constraints, serphouse_examples) teach the AI usage rules automatically

Quick Start (Hosted)

The fastest path — no build step, no server to maintain.

1. Get your API key from the SERPHouse Dashboard.

2. Add the server to your MCP client config:

{
  "mcpServers": {
    "serphouse": {
      "url": "https://mcp.serphouse.com/mcp",
      "headers": {
        "SERPHOUSE_API": "YOUR_SERPHouse_API_KEY"
      }
    }
  }
}

3. Start chatting. Ask your assistant to search Google, look up locations, fetch jobs, or check your account — it will route to the correct tool.

One-click install: Use the Install in VS Code or Install in Cursor badges above, then replace the placeholder API key with yours.


What You Can Ask

For SEO teams, agencies, and SaaS marketers who need live search data inside their AI workflow — no dashboards, scripts, or context switching.

Why you use itExample prompt
Track your rankings"Where do we rank for 'crm software' on Google US desktop?"
Beat competitors"Who owns the top 5 spots for 'project management software' in London?"
Own local search"Top Google Local results for 'emergency plumber' in Chicago."
Discover keywords"What does Autocomplete suggest for 'best saas for'?"
Monitor positions"Schedule a mobile SERP check for our brand in NYC and report our rank."

Tools Overview

The server exposes 18 tools across four categories. Every SERP and Google vertical request requires exactly one location field — loc (e.g. Austin,Texas,United States) or loc_id (from serphouse_location_search). Never send both or omit both.

Reference

ToolDescription
serphouse_domain_listSupported Google, Bing, and Yahoo search domains
serphouse_language_listLanguage codes by search engine type
serphouse_location_searchResolve city/country names to loc_id
serphouse_account_infoAccount balance and usage

Live SERP

ToolDescription
serphouse_serp_liveSubmit a live SERP query
serphouse_serp_live_getRetrieve live SERP results
serphouse_serp_google_advancedAdvanced Google SERP with extended parameters

Scheduled

ToolDescription
serphouse_serp_scheduleSchedule a SERP task
serphouse_serp_google_advanced_scheduledSchedule an advanced Google SERP task
serphouse_task_checkPoll task status
serphouse_task_getFetch completed task results
serphouse_schedule_and_waitSchedule, poll, and return results in one call

Google Verticals

ToolDescription
serphouse_google_jobsGoogle Jobs search
serphouse_google_autocompleteGoogle Autocomplete suggestions
serphouse_google_videosGoogle Videos results
serphouse_google_short_videosGoogle Short Videos (Shorts)
serphouse_google_forumsGoogle Forums results
serphouse_google_localGoogle Local / Maps results

Self-Host Locally

Run the server on your machine for full control or local development.

git clone https://github.com/SERPHouse/serphouse-mcp.git
cd serphouse-mcp
npm install
npm run build
npm start

The server listens on http://localhost:3000. MCP endpoint: POST /mcp

Point your MCP client at the local instance:

{
  "mcpServers": {
    "serphouse": {
      "url": "http://localhost:3000/mcp",
      "headers": {
        "SERPHOUSE_API": "YOUR_SERPHouse_API_KEY"
      }
    }
  }
}

Commands

CommandDescription
npm run buildCompile TypeScript to dist/
npm startRun the HTTP server (http://localhost:3000/mcp)
npm run start:stdioRun the stdio transport server (local MCP process mode)
npm run devRun the HTTP server with hot reload
npm run dev:insLaunch MCP Inspector against the stdio server for debugging
npm run typecheckType-check without emitting files

Health check: GET http://localhost:3000/health

Environment Variables

VariableDefaultDescription
SERPHOUSE_API_KEYAPI key for stdio mode (start:stdio) or optional fixed key for standalone HTTP
SERPHOUSE_BASE_URLhttps://api.serphouse.comSERPHouse API base URL
SERPHOUSE_TIMEOUT_MS60000Request timeout in ms
PORT3000HTTP listen port
HOST0.0.0.0HTTP bind address

Self-Host with Docker

Run the MCP server locally in Docker without installing Node.js.

1. Set environment variables

cp .env.example .env

Edit .env and set your API key:

SERPHOUSE_API_KEY=your_serphouse_api_key
PORT=3000

2. Start the server

docker compose up -d

The server runs at http://localhost:3000/mcp.

3. Connect your MCP client

{
  "mcpServers": {
    "serphouse": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

Use with Local Llama Models (Ollama)

Hook up your SERPHouse MCP Server to a local Llama model (e.g. Llama 3.1 or 3.2) using ollmcp — an interactive terminal UI client that brings real-time search engine power straight to your local LLM workflow.

Prerequisites

RequirementNotes
Tool-calling Llama modelA model that supports tool calls (e.g. llama3.1, llama3.2) installed and running via Ollama
Python 3.10+Required to run the ollmcp terminal client
Node.jsRequired to run the SERPHouse MCP server via npx

1. Install ollmcp

ollmcp is a Python client, so install it globally with pip:

pip install --upgrade ollmcp

2. Create a config.json file

The client needs a configuration profile that tells it how to launch the SERPHouse server and pass your API credentials. Create a config.json in your working folder:

{
  "mcpServers": {
    "serphouse-mcp": {
      "url": "https://mcp.serphouse.com/mcp",
      "headers": {
        "SERPHOUSE_API_KEY": "YOUR_SERPHouse_API_KEY"
      }
    }
  }
}

Replace YOUR_SERPHouse_API_KEY with your active key from the SERPHouse Dashboard.

3. Run the terminal client

Launch the interactive interface, passing your config profile and target model:

ollmcp --servers-json config.json --model llama3.1
Once the terminal UI loads:
  1. Select your target Llama model from the model list.
  2. Submit a prompt that needs live web data — e.g. "Look up the top Google results for 'best developer tools' using SERPHouse."
  3. Watch your local Llama model call the SERPHouse tools and turn real-time SERP data into a conversational answer.

Compatible Models

The following Ollama models work well with tool use:

  • gemma4
  • qwen3.5
  • lfm2.5-thinking
  • llama3.2
  • mistral

For a complete list of Ollama models with tool use capabilities, visit the official Ollama models page.

For models that can also process images returned by tools, see the Ollama vision models page.


Troubleshooting

IssueFix
Missing API keySend SERPHOUSE_API header (HTTP) or set SERPHOUSE_API_KEY (stdio)
Invalid keyVerify your key in the SERPHouse dashboard
Credit exhaustedCheck balance with serphouse_account_info
Location errorInclude loc or loc_id; use serphouse_location_search to resolve IDs
Connection refusedConfirm the server is running and the URL/port is correct

Contributing

Contributions are welcome. Please keep changes focused and match existing code style.

git checkout -b feature/your-feature
npm install
# make changes
npm run typecheck
git commit -m "Add your feature"
git push origin feature/your-feature

Then open a Pull Request. Update this README if you change setup or configuration.


License

MIT License — Copyright SERPHouse.