SharpAPI

v0.3.0
io.github.Sharp-API/sharpapi-mcp Checked 1 day ago Published 1 day ago

Live sports betting odds, +EV, arbitrage, middles and betting splits from SharpAPI.

Values you need

VariableWhat it is
SHARPAPI_KEYrequired secret Your SharpAPI key. Get a free one at https://sharpapi.io.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add sharpapi-mcp -e 'SHARPAPI_KEY=<SHARPAPI_KEY>' -- npx -y --package=@sharp-api/mcp-server@0.2.1 sharpapi-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "sharpapi-mcp": {
      "args": [
        "-y",
        "--package=@sharp-api/mcp-server@0.2.1",
        "sharpapi-mcp"
      ],
      "command": "npx",
      "env": {
        "SHARPAPI_KEY": "<SHARPAPI_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "sharpapi-mcp": {
      "args": [
        "-y",
        "--package=@sharp-api/mcp-server@0.2.1",
        "sharpapi-mcp"
      ],
      "command": "npx",
      "env": {
        "SHARPAPI_KEY": "<SHARPAPI_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SHARPAPI_KEY",
      "id": "sharpapi-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "sharpapi-mcp": {
      "args": [
        "-y",
        "--package=@sharp-api/mcp-server@0.2.1",
        "sharpapi-mcp"
      ],
      "command": "npx",
      "env": {
        "SHARPAPI_KEY": "${input:sharpapi-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.sharpapi-mcp]
command = "npx"
args = ["-y", "--package=@sharp-api/mcp-server@0.2.1", "sharpapi-mcp"]
env = { "SHARPAPI_KEY" = "<SHARPAPI_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http sharpapi-mcp https://mcp.sharpapi.io/mcp --header 'X-API-Key: <X-API-Key>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "sharpapi-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.sharpapi.io/mcp",
        "--header",
        "X-API-Key: <X-API-Key>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "sharpapi-mcp": {
      "headers": {
        "X-API-Key": "<X-API-Key>"
      },
      "url": "https://mcp.sharpapi.io/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "sharpapi-mcp": {
      "headers": {
        "X-API-Key": "<X-API-Key>"
      },
      "type": "http",
      "url": "https://mcp.sharpapi.io/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.sharpapi-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.sharpapi.io/mcp", "--header", "X-API-Key: <X-API-Key>"]

For AI agents

  1. Ask the user for: SHARPAPI_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_sports, list_sportsbooks, list_events, get_odds, get_best_odds, get_arbitrage, get_ev, get_middles, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json