# tickerbot/tickerbot-mcp [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/tickerbot/tickerbot-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1018  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-server-164

## Description
The stock market, in SQL — scan, replay, or subscribe across ~12k US tickers and top 100 cryptos.

## Tools
Capabilities this server exposes over MCP:

- **tickerbot_scan** — Screens every ticker with a SQL `WHERE` clause and returns the matches. Run it now, or add `asof` to backtest it on any past date. The `q` grammar is a flat SQL WHERE over signal names: AND/OR/NOT, comparisons, numeric and string literals, custom signals by name. No JOIN or subqueries. With `group_by` the result is rollup rows, not tickers. Example: `gap_up AND market_cap < 2000000000 AND NOT earnings_this_week`.
- **tickerbot_subscribe_scan** — Gets you an alert by webhook each time a ticker starts matching a screen. Webhooks need a paid plan (Free has no webhook slots). Use for "alert me when this happens" requests.
- **tickerbot_list_signals** — Lists every signal you can screen on: the built-ins and your custom signals, in one catalog. Use to discover the signal names and `q` vocabulary before composing a scan; custom signals appear with `kind: custom`.
- **tickerbot_create_custom_signal** — Saves a named true/false SQL expression you can screen on anywhere a built-in signal works.
- **tickerbot_update_custom_signal** — Updates a custom signal you own: its expression, description or name.
- **tickerbot_delete_custom_signal** — Deletes one of your custom signals. Refused by default if another of your signals references it.
- **tickerbot_get_signal** — Returns every ticker matching one signal, live or on any past date with `asof`: a screen on that one signal. Booleans need no `condition`; every other type needs one, typed like the signal: ">70" (numeric), "<YYYY-MM-DDTHH:MM:SSZ" (timestamp), ">=YYYY-MM-DD" (date), "=ETF" (string). Sorted by signal value desc for non-booleans.
- **tickerbot_subscribe_signal** — Gets you an alert by webhook each time a ticker starts matching one signal. Webhooks need a paid plan (Free has no webhook slots). Omit `ticker` to watch the whole universe.
- **tickerbot_list_tickers** — Lists every ticker we track, active or delisted, with its identity. For everything about one, use Get a ticker.
- **tickerbot_get_ticker** — Returns everything about one ticker (every signal it carries), live or on any past date with `asof`. Put up to 50 in the path, comma-separated, such as a screen's matches. Pass a comma list of up to 50 symbols for a batch (`data` keyed by symbol plus `not_found`). Crypto is the X-prefixed pair (X:BTCUSD) — bare BTC/ETH are US-listed ETFs.
- **tickerbot_subscribe_ticker** — Gets you an alert by webhook each time one ticker starts matching a condition. Webhooks need a paid plan (Free has no webhook slots). Omit `target_url` for in-app delivery.
- **tickerbot_get_ticker_coverage** — Reports what we hold for one ticker and how far back, so an empty result is never ambiguous. Ask this before treating a gap in bars or series as an outage. An absent `minute` span is not a gap — sub-hour bars load on the first request for a symbol.
- **tickerbot_get_series** — Returns any signals for any tickers over time, on one shared grid: up to 50 tickers (a screen's matches, say) and 25 signals per call, all-time. One flat row per ticker per interval step, cursor-paged backward. `transitions_only: true` with boolean signals returns only the rows where a boolean flipped.
- **tickerbot_get_bars** — Returns OHLCV bars from `1s` to monthly, for one ticker or up to 50, such as a screen's matches.
- **tickerbot_list_events** — Returns one timeline of what happened across every ticker or a screen's matches: earnings, dividends, splits, filings, insider trades and analyst actions, plus opt-in estimate revisions, news and signal firings. Requires at least one bound: a ticker scope (ticker/tickers/universe), a time window (from/to), or firm/action — `q` alone is not a bound. `firm`/`action` match case-insensitively; a `q` payload match is case-sensitive. `join: state` attaches the ticker state as of each event. With `kind: news` alone, `min_relevance: 0.8` keeps only rows whose article is about that ticker.
- **tickerbot_subscribe_events** — Gets you an alert by webhook when new events of the kinds you choose land. Webhooks need a paid plan (Free has no webhook slots). `q` filters the ticker STATE; `event_q` filters the EVENT payload in the /v2/events grammar. Latency is the ingest cadence (analyst ≤1h, corporate kinds daily), not sub-minute.
- **tickerbot_search_news** — Queries news with SQL for any ticker or a screen's matches: article rows, or rollups when you group them. Filter to a ticker with the `ticker` param, or in `q` via the auto-unnest alias `tk = 'NVDA'`. A ticker filter matches every article that mentions it; add `min_relevance: 0.8` to keep only articles about it. `search` is full-text over title and summary. Rollups with group_by/having return `truncated: true` instead of paging.
- **tickerbot_get_etf_holdings** — Returns an ETF's constituents and their weights, heaviest first. When the ticker is not an ETF, `is_etf` is false and `holdings` is empty; `is_etf: true` with zero holdings means a real ETF whose holdings are not ingested yet. The reverse lookup ("which ETFs hold NVDA") is a scan filter on `etf_holders`, not this tool.
- **tickerbot_get_etf_sectors** — Returns an ETF's sector weights, heaviest first. Always complete, since sector breakdowns are small. When the ticker is not an ETF, `is_etf` is false and `sectors` is empty.
- **tickerbot_list_universes** — Lists every universe you can use: your own ticker lists and the built-in ones. `owner: system` lists the built-in universes (top_10, top_100); `all` lists both. Use a slug as `universe` on scan, signal, and subscribe tools.
- **tickerbot_create_universe** — Saves a named list of tickers to scope screens and subscriptions.
- **tickerbot_get_universe** — Returns one universe: a built-in (`top_10`, `top_100`) or one you own.
- **tickerbot_update_universe** — Updates one of your universes: its name, description or members. `tickers` replaces the whole list; `add`/`remove` adjust it. System universes cannot be edited.
- **tickerbot_delete_universe** — Permanently deletes one of your universes. Webhooks that reference the deleted universe fail on their next eval — clean those up first.
- **tickerbot_list_webhooks** — Lists every webhook on your account, newest first.
- **tickerbot_create_webhook** — Creates a webhook: a trigger plus where to deliver it. Trigger shapes: scan {type:"scan", q, universe?}; ticker {type:"ticker", ticker, condition}; signal {type:"signal", signal, ticker?, universe?, condition?}; event {type:"event", kinds, tickers?, universe?, event_q?}. The subscribe tools are flat sugar over exactly this. Webhooks need a paid plan (Free has no webhook slots).
- **tickerbot_get_webhook** — Returns one webhook's current state.
- **tickerbot_update_webhook** — Edits a webhook in place; send only the fields you want to change. The trigger and channel are immutable — delete and re-create to change what fires or where it delivers. Unknown fields are a 400.
- **tickerbot_delete_webhook** — Deletes a webhook and its delivery history.
- **tickerbot_list_webhook_deliveries** — Lists a webhook's recent deliveries: what was sent and what came back.
- **tickerbot_redeliver_webhook_delivery** — Resends a past delivery, with the exact body it carried, to the webhook's current target. Resends the exact original body to the webhook's current target. The webhook must be active (409 otherwise); take delivery ids from tickerbot_list_webhook_deliveries. Test fires cannot be resent.
- **tickerbot_enable_webhook** — Re-enables a disabled webhook and starts it clean. Clears match-state, so the next eval treats every currently-matching ticker as new.
- **tickerbot_test_webhook** — Sends a real-shape test delivery to your endpoint, instantly. One-shot: a failed test never retries and never auto-disables the webhook. 400 when the webhook has no target_url.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "tickerbot-mcp": {
    "command": "npx",
    "args": ["-y","@tickerbot/mcp-server"],
    "env": {
      "TICKERBOT_API_KEY": "",
      "TICKERBOT_API_URL": ""
    }
  }
}
```

**Requires environment variables:** `TICKERBOT_API_KEY`, `TICKERBOT_API_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What tickerbot/tickerbot-mcp does

tickerbot/tickerbot-mcp exposes Tickerbot’s market-data API as MCP tools for compatible AI clients. It covers ticker state, historical signal values, OHLCV bars, corporate and market events, news, ETF holdings and sectors, custom signals, ticker universes, and webhook management.

The server is suited to research workflows that need to screen many instruments, inspect a group of matches, or replay a query against a past date. A scan accepts a flat SQL `WHERE`-style expression using signal names, boolean operators, comparisons, and literals. Custom signals can be saved and then used alongside built-in signals. Results can be scoped to built-in or user-created universes, and grouped scans return rollups rather than individual tickers.

## How it works

The package is a thin stdio bridge to `https://api.tickerbot.io/mcp`. At startup, it requests the available tool definitions from the hosted service using the API key, then forwards MCP calls and returns the API responses. Changes to the hosted tool list become available when the client starts the bridge again.

If the hosted MCP endpoint cannot be reached at startup, the bridge uses a bundled tool list and sends calls to the REST API fallback. It retries the hosted endpoint at most once per minute while handling tool-list requests. Without an API key, it does not contact the service; calls instead explain how to configure the key.

Historical workflows use `asof` on supported ticker and signal queries. Series requests can cover up to 50 tickers and 25 signals, while bar and ticker requests also support batches of up to 50 symbols. Crypto pairs use the `X:` prefix, such as `X:BTCUSD`.

## Setup and configuration

Install through `npx` and configure the bridge in the MCP client’s server settings:

```json
{
  "command": "npx",
  "args": ["-y", "@tickerbot/mcp-server"],
  "env": {
    "TICKERBOT_API_KEY": "tb_live_..."
  }
}
```

The package has documented setup examples for Claude Desktop, Claude Code, Cursor, and VS Code Copilot. Obtain an API key from the Tickerbot dashboard before starting the client.

`TICKERBOT_API_KEY` is required and is sent as a bearer token. `TICKERBOT_API_URL` optionally changes the service base URL; the bridge uses its `/mcp` path and the fallback uses `/v2/...` paths. Clients that support remote MCP connections can instead connect directly to `https://api.tickerbot.io/mcp` and authenticate with OAuth.

## Tools and capabilities

- Screen the tracked market with boolean and comparison expressions, including historical scans.
- List, create, update, delete, and evaluate built-in or custom signals.
- Retrieve ticker state, coverage, historical series, and OHLCV bars.
- Query events and news, including optional ticker-state joins, relevance filtering, and grouped results.
- Inspect ETF constituents and sector allocations.
- Create and maintain ticker universes for scoped scans and subscriptions.
- Create, update, inspect, test, delete, and review deliveries for webhooks.

Subscription tools can watch scans, signals, tickers, or events and deliver alerts through webhooks. Webhook slots require a paid plan; ticker subscriptions can omit a target URL for in-app delivery.

## Limitations and notes

The bridge depends on a Tickerbot API key and the hosted service for normal operation. A fallback mode can use the bundled tool definitions, but that list may lag behind the hosted server. Arguments not declared by a tool are forwarded and can produce an `unknown_parameter` response.

Event subscriptions follow the service’s ingest cadence rather than sub-minute delivery. Corporate event data is daily and analyst data can be available within an hour. For event queries, at least one scope, time bound, or firm/action filter is required. News ticker filters match articles that mention the ticker; a relevance threshold can narrow results to articles primarily about it.

Strategies are not exposed through MCP. Deprecated event and news tool names remain available only during their stated transition period; new integrations should use the replacement query tools.

_Full upstream README: https://allmcps.com/mcp/mcp-server-164/readme_

