# AgentSEO

Connects AI coding agents to the AgentSEO intelligence API. It fetches search engine results and automates SEO checks directly from development workflows.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: AgentSEO-dev
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/AgentSEO-dev/agentseo-clients
- Updated: 2026-07-17
- HTML: https://affpapa.org/en/nevibecode/mcp/agentseo

## What it does

This server bridges coding agents with the AgentSEO cloud platform. The open-source repository holds only client packages: libraries for TypeScript and Python alongside the MCP wrapper. Backend infrastructure, provider routing, and data processing remain on the hosted service.

Running the local client requires an `AGENTSEO_API_KEY`. Without a valid API key, requests to the external search endpoint will fail immediately. Configuration also supports optional project and workflow environment flags.

Setup works via standard input/output using `npx` or by connecting directly to the hosted HTTP endpoint.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://www.agentseo.dev/mcp`
- Environment variables: `AGENTSEO_API_KEY`, `AGENTSEO_API_URL`, `AGENTSEO_PROJECT_ID`, `AGENTSEO_WORKFLOW_ID` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add --env AGENTSEO_API_KEY=<AGENTSEO_API_KEY> --env AGENTSEO_API_URL=<AGENTSEO_API_URL> --env AGENTSEO_PROJECT_ID=<AGENTSEO_PROJECT_ID> --env AGENTSEO_WORKFLOW_ID=<AGENTSEO_WORKFLOW_ID> --transport stdio agentseo -- npx -y @agentseo/mcp-server
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http agentseo https://www.agentseo.dev/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add agentseo --url https://www.agentseo.dev/mcp
```

2. **Platform CLI**
```bash
codex mcp add agentseo --env AGENTSEO_API_KEY=<AGENTSEO_API_KEY> --env AGENTSEO_API_URL=<AGENTSEO_API_URL> --env AGENTSEO_PROJECT_ID=<AGENTSEO_PROJECT_ID> --env AGENTSEO_WORKFLOW_ID=<AGENTSEO_WORKFLOW_ID> -- npx -y @agentseo/mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agentseo": {
            "url": "https://www.agentseo.dev/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agentseo": {
            "command": "npx",
            "args": [
                "-y",
                "@agentseo/mcp-server"
            ],
            "env": {
                "AGENTSEO_API_KEY": "<AGENTSEO_API_KEY>",
                "AGENTSEO_API_URL": "<AGENTSEO_API_URL>",
                "AGENTSEO_PROJECT_ID": "<AGENTSEO_PROJECT_ID>",
                "AGENTSEO_WORKFLOW_ID": "<AGENTSEO_WORKFLOW_ID>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agentseo": {
            "type": "http",
            "url": "https://www.agentseo.dev/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agentseo": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@agentseo/mcp-server"
            ],
            "env": {
                "AGENTSEO_API_KEY": "<AGENTSEO_API_KEY>",
                "AGENTSEO_API_URL": "<AGENTSEO_API_URL>",
                "AGENTSEO_PROJECT_ID": "<AGENTSEO_PROJECT_ID>",
                "AGENTSEO_WORKFLOW_ID": "<AGENTSEO_WORKFLOW_ID>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http agentseo https://www.agentseo.dev/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e AGENTSEO_API_KEY=<AGENTSEO_API_KEY> -e AGENTSEO_API_URL=<AGENTSEO_API_URL> -e AGENTSEO_PROJECT_ID=<AGENTSEO_PROJECT_ID> -e AGENTSEO_WORKFLOW_ID=<AGENTSEO_WORKFLOW_ID> agentseo npx -y @agentseo/mcp-server
```
Replace <…> with your own values

## When to use it
- query search engine results with location targeting
- integrate live SEO lookups into coding assistant sessions
- fetch ranked results programmatically with custom result limits

## Example prompts
- Search for "seo api" targeted to "United States" using AgentSEO
- Fetch the top 5 search results synchronously for my target keyword

## Similar
- [Google Trends API](https://affpapa.org/en/nevibecode/mcp/google-trends-api.md) — MCP server
- [local-descriptions](https://affpapa.org/en/nevibecode/skills/local-descriptions.md) — skill · 1100 installs
- [HasData Google Search (SERP)](https://affpapa.org/en/nevibecode/mcp/hasdata-google-search-serp.md) — MCP server · ★ 17
- [news-search](https://affpapa.org/en/nevibecode/skills/news-search.md) — skill · 1600 installs
- [brave-search](https://affpapa.org/en/nevibecode/skills/brave-search.md) — skill · 1300 installs
- [firecrawl-workflows](https://affpapa.org/en/nevibecode/skills/firecrawl-workflows.md) — skill · 32600 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
