# Locus MCP server

> Provides pay-per-use APIs for coding agents to perform web research, data lookups, and access metered provider endpoints using a prepaid credit balance.

- Repository: https://github.com/locus-technologies/locus-pro-plugin
- Page: https://hostedmcp.org/servers/locus-technologies/locus-pro-plugin
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 0.3.40

## Install

### Claude Code

```sh
claude mcp add --transport http locus-pro-plugin https://api.paywithlocus.com/api/credits/mcp
```

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

```json
{
  "mcpServers": {
    "locus-pro-plugin": {
      "url": "https://api.paywithlocus.com/api/credits/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "locus-pro-plugin": {
      "type": "http",
      "url": "https://api.paywithlocus.com/api/credits/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"locus-pro-plugin","type":"http","url":"https://api.paywithlocus.com/api/credits/mcp"}'
```

### Codex

```sh
codex mcp add locus-pro-plugin --url https://api.paywithlocus.com/api/credits/mcp
```

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

```toml
[mcp_servers.locus-pro-plugin]
url = "https://api.paywithlocus.com/api/credits/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http locus-pro-plugin https://api.paywithlocus.com/api/credits/mcp
```

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

```json
{
  "mcpServers": {
    "locus-pro-plugin": {
      "url": "https://api.paywithlocus.com/api/credits/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### Does the server require an API key for human users?

No, human-owned connections use OAuth with browser consent, so no keys are stored in your configuration.

### How can I prevent accidental double-charging during retries?

The Locus skill instructs agents to use idempotency keys so that retrying a call with the same key does not result in a second charge.

### Can I estimate the cost of a tool call before running it?

Yes, agents are instructed to use the estimate_cost tool to quote significant calls before execution.
