# Serpent API

> Serpent API is a freemium MCP server for web search and scraping. Structured JSON search results from Google, Bing and more, served to AI agents over MCP. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI
- **Website:** https://apiserpent.com
- **Repository:** https://github.com/apiserpent/apiserpent-mcp
- **MCP Registry name:** com.apiserpent/serpent
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-27

## About

Serpent API is a remote MCP server that lets an AI assistant pull live search engine results as structured JSON. The registry entry describes one tool per Serpent API, and the open-source repository on GitHub wraps a Google search tool that takes a query and returns current web results.

The server connects over streamable HTTP through the hosted endpoint, so there is no local package to install for the remote setup. The underlying Serpent API covers Google, Bing, Yahoo, DuckDuckGo and Brave, with the same response shape across engines, and it also offers news, image, video and shopping search.

It suits developers building agents that need fresh search data, and SEO or research workflows that want SERP results without scraping pages themselves. Access requires a Serpent API key, and new accounts receive a small pool of free calls.

## Features

- **Live Google search:** Runs web searches through Google and returns current results as JSON.
- **Remote streamable HTTP endpoint:** Connects to a hosted MCP endpoint without running a local search backend.
- **Multi-engine API:** The underlying API also queries Bing, Yahoo, DuckDuckGo and Brave with one response format.
- **News, image and video search:** Specialised search types are available through the same underlying API.
- **Open-source client wrapper:** The GitHub repository provides an MIT-licensed server that runs over stdio for Claude Desktop.

## Good for

- Give an AI assistant access to up-to-date web results during a conversation
- Gather search results for research or competitive monitoring inside an agent workflow
- Feed structured SERP data into SEO reporting or rank tracking tools

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http serpent https://api.apiserpent.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "serpent": {
      "type": "http",
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.apiserpent.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "serpent": {
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "serpent": {
      "type": "http",
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.apiserpent.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add serpent --url https://api.apiserpent.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.serpent]
url = "https://api.apiserpent.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "serpent": {
      "httpUrl": "https://api.apiserpent.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http serpent https://api.apiserpent.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "serpent": {
      "serverUrl": "https://api.apiserpent.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "serpent": {
      "url": "https://api.apiserpent.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "serpent": {
      "type": "streamableHttp",
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "serpent": {
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "serpent": {
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "serpent": {
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "serpent": {
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.apiserpent.com/mcp
```

Enter a Name (for example "Serpent API"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "serpent": {
      "type": "http",
      "url": "https://api.apiserpent.com/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 1 tool only read data. From the server's own tool labels and tool names; not verified by us.

- `google_search` (name suggests: reads): Search Google through the Serpent API and return real-time web results.

## FAQ

### Do I need an API key?

Yes. The server reads a Serpent API key, which is sent in the X-API-Key header.

### Which search engines are supported?

The Serpent API supports Google, Bing, Yahoo, DuckDuckGo and Brave. The repository's google_search tool queries Google.

### Is there a free tier?

New Serpent API accounts receive free calls shared across endpoints, with no credit card required.

### How do I add Serpent API to Claude Code?

Run this command in your terminal: claude mcp add --transport http serpent https://api.apiserpent.com/mcp

### What are the best alternatives to Serpent API?

The closest alternatives to Serpent API are SerpApi, MCP Serp, Google Serp, SERP Maven and SerpResult.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [SerpApi](https://ai-powered.com/mcp/serpapi-2): SerpApi is a freemium MCP server for web search and scraping.
- [MCP Serp](https://ai-powered.com/mcp/mcp-serp): MCP Serp is an MCP server for web search and scraping.
- [Google Serp](https://ai-powered.com/mcp/google-serp): Google Serp is a freemium MCP server for web search and scraping.
- [SERP Maven](https://ai-powered.com/mcp/serp-maven): SERP Maven is an open-source MCP server for web search and scraping.
- [SerpResult](https://ai-powered.com/mcp/serpresult): SerpResult is a freemium MCP server for web search and scraping.
- [serpgrab: Google Search and Maps](https://ai-powered.com/mcp/serpgrab-google-search-and-maps): serpgrab: Google Search and Maps is a freemium MCP server for maps and travel.
- [AIsa SERP — Other Engines](https://ai-powered.com/mcp/aisa-serp-other-engines): AIsa SERP — Other Engines is a freemium MCP server for web search and scraping.
- [Thordata SERP MCP Server](https://ai-powered.com/mcp/thordata-serp-mcp-server): Thordata SERP MCP Server is an MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/serpent-api
