# ClawQL MCP server

> Enables AI agents to discover and execute API operations via a token-efficient search-and-execute workflow over OpenAPI, Google Discovery, GraphQL, and gRPC.

- Repository: https://github.com/danielsmithdevelopment/ClawQL
- Page: https://hostedmcp.org/servers/danielsmithdevelopment/clawql
- Transport: stdio
- Stars: 13
- License: Apache-2.0

## Install

### Claude Code

```sh
claude mcp add clawql -- npx -y clawql-mcp
```

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

```json
{
  "mcpServers": {
    "clawql": {
      "command": "npx",
      "args": [
        "-y",
        "clawql-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "clawql": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "clawql-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"clawql","type":"stdio","command":"npx","args":["-y","clawql-mcp"]}'
```

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

```json
{
  "mcpServers": {
    "clawql": {
      "command": "npx",
      "args": [
        "-y",
        "clawql-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add clawql -- npx -y clawql-mcp
```

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

```toml
[mcp_servers.clawql]
command = "npx"
args = ["-y", "clawql-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user clawql npx -- -y clawql-mcp
```

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

```json
{
  "mcpServers": {
    "clawql": {
      "command": "npx",
      "args": [
        "-y",
        "clawql-mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CLAWQL_INSTANCE_SPEC` | no | no |  |
| `CLAWQL_PROVIDER` | no | no |  |

## FAQ

### How does ClawQL handle API discovery for agents?

Agents call a search tool to discover relevant operations, which prevents the need to load entire API definitions into the prompt context.

### What protocols does ClawQL support for execution?

It supports OpenAPI, Google Discovery, native GraphQL, and gRPC sources.

### Can I use ClawQL with GraphQL-only vendors like Linear?

Yes, you can use the bundled SDL for Linear by setting the provider to linear, or point to an HTTP endpoint with auth headers.

### What are the core tools that cannot be disabled?

The core tools include search, execute, audit, and cache, which are always on and have no opt-out.
