# OwnSERP MCP server

> Enables AI agents to perform web searches, news, images, and scholar queries via Serper.dev with built-in credit accounting and budget limits.

- Repository: https://github.com/devops-infinity/ownserp
- Page: https://hostedmcp.org/servers/devops-infinity/ownserp
- Transport: stdio
- Stars: 1
- License: Apache-2.0
- Latest version: 2.4.0

## Install

### Claude Code

```sh
claude mcp add ownserp -- npx -y @devops-infinity/ownserp
```

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

```json
{
  "mcpServers": {
    "ownserp": {
      "command": "npx",
      "args": [
        "-y",
        "@devops-infinity/ownserp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "ownserp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@devops-infinity/ownserp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"ownserp","type":"stdio","command":"npx","args":["-y","@devops-infinity/ownserp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "ownserp": {
      "command": "npx",
      "args": [
        "-y",
        "@devops-infinity/ownserp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add ownserp -- npx -y @devops-infinity/ownserp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.ownserp]
command = "npx"
args = ["-y", "@devops-infinity/ownserp"]
```

### Gemini CLI

```sh
gemini mcp add -s user ownserp npx -- -y @devops-infinity/ownserp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "ownserp": {
      "command": "npx",
      "args": [
        "-y",
        "@devops-infinity/ownserp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `OWN_SERPER_BEARER_TOKENS` | no | no |  |
| `SERPER_API_KEY` | no | no |  |

## FAQ

### How does the server manage search costs?

The server provides per-call credit accounting where every tool description states its price and a local ledger records each call.

### Can I set limits on how much an AI agent spends?

Yes, you can set a per-call credit ceiling and a session budget to prevent excessive spending.

### What search capabilities are available?

The server supports web, images, news, places, maps, videos, shopping, scholar, patents, reviews, and lens searches.

### Does the server require a runtime like Node.js or Python?

No, the server is a single binary that requires no language runtime.
