# MCP

> MCP is an MCP server. Read your ParlayX account and the prediction markets from an MCP client. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://docs.parlayx.com/mcp/introduction
- **MCP Registry name:** com.parlayx/mcp
- **Listing updated:** 2026-11-13

## About

Read your ParlayX account and the prediction markets from an MCP client.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp --env PARLAYX_KEY_ID='<PARLAYX_KEY_ID>' --env PARLAYX_PRIVATE_KEY_HEX='<PARLAYX_PRIVATE_KEY_HEX>' -- npx -y @parlayx/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parlayx/mcp"
      ],
      "env": {
        "PARLAYX_KEY_ID": "<PARLAYX_KEY_ID>",
        "PARLAYX_PRIVATE_KEY_HEX": "<PARLAYX_PRIVATE_KEY_HEX>"
      }
    }
  }
}
```

## FAQ

### How do I add MCP to Claude Code?

Run this command in your terminal: claude mcp add mcp --env PARLAYX_KEY_ID='<PARLAYX_KEY_ID>' --env PARLAYX_PRIVATE_KEY_HEX='<PARLAYX_PRIVATE_KEY_HEX>' -- npx -y @parlayx/mcp

---
Source: https://ai-powered.com/mcp/mcp-mwendriz
