All docs

MCP server

Connect Claude Code, Claude Desktop or Cursor to Bark: look up alerts, track and untrack, and ask why an alert didn't arrive.

On this page

Ask your AI assistant things like "track these 20 wallets as whale 1 to whale 20" or "why didn't I get this post?".

  • Address: https://www.bark.gg/api/mcp (Streamable HTTP)
  • Key: Authorization: Bearer <your api key>, from the Account page. Without it, only lookup and speed work.

Tools#

ToolWhat it does
lookupWhen an alert happened, reached Bark and reached you
speedBark's speed medians and feed status
track, untrackTracks or untracks what you paste
list_trackedWhat you track, and how much of your plan it uses
recent_alertsYour latest alerts
why_notWhy an alert didn't reach one of your destinations
usageYour plans, add-ons and limits

Claude Code#

bash
claude mcp add --transport http bark https://www.bark.gg/api/mcp --header "Authorization: Bearer YOUR_API_KEY"

Claude Desktop#

In Settings → Developer → Edit Config, add to claude_desktop_config.json (needs Node.js), then restart:

json
{
  "mcpServers": {
    "bark": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://www.bark.gg/api/mcp", "--header", "Authorization:${BARK_AUTH}"],
      "env": { "BARK_AUTH": "Bearer YOUR_API_KEY" }
    }
  }
}

Cursor#

Add to ~/.cursor/mcp.json, then turn the server on in Cursor Settings → MCP:

json
{
  "mcpServers": {
    "bark": {
      "url": "https://www.bark.gg/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Other assistants#

Any MCP client connects with the same address and header. Every docs page is also Markdown at its address plus .md, and the whole guide is llms-full.txt.

The key acts as you: if it leaks, rotate it on the Account page.