Bellchain

v1.4.1
io.github.bellchain-app/mcp Checked 1 day ago Published 25 days ago

Crypto alert chains in your AI assistant: check alerts, test ideas with the replay, build chains.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_account Account and plan

The Bellchain account behind the API key: plan, active chains and the plan’s limit, how many days the replay may look back, language, time zone, and what this key may do ("read" only, or "full": also create, change, activate, pause and delete chains).

list_chains List chains

All chains of the account, last changed first: ID, name, status (draft = never activated, active, paused with reason), markets (pair and timeframe), revisions and time of the last alert.

ParameterTypeDescription
statusstringOnly chains in this state.

get_chain Read a chain

One chain with its nodes in plain language (summary, such as "RSI 14 below 35"), its saved definition in the Bellchain chain format (nodes with settings, edges) and which secret settings are filled. Secret values are never included.

ParameterTypeDescription
chainId *stringID of the chain, from list_chains.

list_alerts List alerts

Alerts of the last 90 days, newest first, with pair, price, message, values at the alert, delivery per channel (sent, failed, held, muted …) and the price move afterwards. For chains with a take-profit (TP) and stop-loss (SL), trade has their settings at the alert and how it did as a trade: exit (target, stop, time, open), net result after fees in percent; running means still open, with the result so far. For the reasons behind one alert use explain_alert.

ParameterTypeDescription
chainIdsarrayOnly alerts of these chains.
cursorstringThe value next of the previous answer, for the next page.
limitintegerHow many, default 20.
sincestringOnly alerts from this candle close on, ISO 8601 such as 2026-10-20T00:00:00Z.

explain_alert Why did an alert fire?

One alert with the reasons it fired, like "Why?" on the alerts page: which conditions were true at its candle and which values went in (such as "RSI 14: 28.7"). Computed with the chain as it runs today; consistent=false means the chain changed since. For chains with a take-profit (TP) and stop-loss (SL), alert.trade shows how the alert did as a trade, up to date.

ParameterTypeDescription
alertId *stringID of the alert from list_alerts, such as "Xy12ab.1792429200000".

list_templates List templates

Ready-made chains from the gallery: ID, title, description, smallest plan that can activate it, topics, market and how often it fired in its own test. Use get_template for the adjustable values.

ParameterTypeDescription
searchstringOnly templates whose title, description, topics or pair contain this text.
topicstringOnly this topic, such as dip, trend, momentum, volatilitaet, volumen, ausbruch, crash, levels, smartmoney, konfluenz, zeit, termine, derivate, scanner.

get_template Read a template

One template with everything needed to adapt it: its nodes in plain language, every adjustable setting with current value, range, options and explanation (parameters, for the settings argument of replay_template and create_chain_from_template), tips and secret settings the user must enter in the app.

ParameterTypeDescription
templateId *stringTemplate ID from list_templates, such as "dip".

get_price Current price

Latest price of a trading pair with high and low of the last 7 days and the change over 24 hours and 7 days, for example to pick a sensible price level for an alert.

ParameterTypeDescription
pair *stringTrading pair with a slash, such as BTC/USDT or ETH/EUR.
exchangestringExchange ID as offered in the candle settings (get_template → parameters, setting "exchange"); default: the template’s or the app’s default.

replay_chain Test a chain

Replays a saved chain over the past days, like "Run replay" in the editor: how often it would have fired, when first and last, held back by cooldown, the latest alerts with message and price, and how the signals would have done with a take-profit and a stop-loss. Scanners are counted per coin. Changes nothing.

ParameterTypeDescription
chainId *stringID of the chain, from list_chains.
daysintegerHow many days the replay looks back; default 90, at most replayDays from get_account.
tradeobjectTake-profit and stop-loss for scoring the signals as trades: entry at the close of the alert candle, a candle reaching both counts as SL, every signal on its own. Default: the chain’s or template’…

replay_template Test a template with own values

Builds a chain from a template with your own pair, timeframe and thresholds and replays it, without saving anything. Use it before create_chain_from_template to show how often the chain would have fired.

ParameterTypeDescription
templateId *stringTemplate ID from list_templates, such as "dip".
daysintegerHow many days the replay looks back; default 90, at most replayDays from get_account.
exchangestringExchange ID as offered in the candle settings (get_template → parameters, setting "exchange"); default: the template’s or the app’s default.
namestringOwn name for the chain.
oncebooleanPause the chain after its first alert.
pairstringPair for the candle, for templates that read one pair.
pairsarrayCoins of a scanner template (replaces its list or top N).
settingsobjectOwn values per node and setting, such as {"k1": {"value": 30}}. Node IDs, settings, ranges and options: get_template → parameters. Secret settings cannot be set.
timeframestringCandle timeframe; applies to all candles of the chain.
tradeobjectTake-profit and stop-loss for scoring the signals as trades: entry at the close of the alert candle, a candle reaching both counts as SL, every signal on its own. Default: the chain’s or template’…

replay_price_alert Test a price alert

Builds a price alert (above / below a price, or rise / fall by a percentage within a time window, optionally with more conditions such as RSI 14 below 30 or price above EMA 200) and replays it without saving anything: how often it would have fired.

ParameterTypeDescription
channelsarrayWhere alerts go; default: the first channel set up in the app (Telegram, then push, then email).
coinsarrayrise/fall only: watch several coins as one scanner.
conditionsarrayMore conditions, all joined with AND, like “Add condition” in the app: up to 3 next to the price condition, 4 without it. Example: [{"subject": "rsi14", "operator": "below", "value": 30}, {"subjec…
daysintegerHow many days the replay looks back; default 90, at most replayDays from get_account.
exchangestringExchange ID as offered in the candle settings (get_template → parameters, setting "exchange"); default: the template’s or the app’s default.
kindstringabove: the price reaches or rises above value; below: reaches or falls below value; rise / fall: changes by value percent within window. Required unless priceCondition is false.
namestringOwn name for the chain; default like "BTC/USDT below 60,000 $".
oncebooleanPause after the first alert; default true for above/below, false for rise/fall.
pairstringTrading pair such as BTC/USDT; required unless coins or top is given.
priceConditionbooleanfalse leaves out the price condition (kind, value, window), so only the conditions count. Default true.
timeframestringCandles for the conditions, only together with them; default 1h, for rise/fall the longest candles up to 1h that fit into window. window must be a whole number of these candles.
topobjectrise/fall only: the top N coins by volume against this quote currency, renewed daily.
tradeobjectTake-profit and stop-loss for scoring the signals as trades: entry at the close of the alert candle, a candle reaching both counts as SL, every signal on its own. Default: the chain’s or template’…
valuenumberPrice in the quote currency for above/below, percent (up to 1000) for rise/fall. Required unless priceCondition is false.
windowstringTime window for rise/fall; default 24h.

create_chain_from_template Create a chain from a template

Creates a chain from a template with your own values, saved as a draft that does not run yet. Then ask the user before activate_chain. The answer names the smallest plan that can activate it. Needs a key with “Read and change”.

ParameterTypeDescription
templateId *stringTemplate ID from list_templates, such as "dip".
exchangestringExchange ID as offered in the candle settings (get_template → parameters, setting "exchange"); default: the template’s or the app’s default.
namestringOwn name for the chain.
oncebooleanPause the chain after its first alert.
pairstringPair for the candle, for templates that read one pair.
pairsarrayCoins of a scanner template (replaces its list or top N).
settingsobjectOwn values per node and setting, such as {"k1": {"value": 30}}. Node IDs, settings, ranges and options: get_template → parameters. Secret settings cannot be set.
timeframestringCandle timeframe; applies to all candles of the chain.

create_price_alert Create a price alert

Creates a price alert like the app’s price alert dialog, saved as a draft that does not run yet; then ask the user before activate_chain. conditions add more checks such as RSI 14 below 30 or price above EMA 200; with priceCondition false only they count. Warnings say if the price already passed the level. Needs a key with “Read and change”.

ParameterTypeDescription
channelsarrayWhere alerts go; default: the first channel set up in the app (Telegram, then push, then email).
coinsarrayrise/fall only: watch several coins as one scanner.
conditionsarrayMore conditions, all joined with AND, like “Add condition” in the app: up to 3 next to the price condition, 4 without it. Example: [{"subject": "rsi14", "operator": "below", "value": 30}, {"subjec…
exchangestringExchange ID as offered in the candle settings (get_template → parameters, setting "exchange"); default: the template’s or the app’s default.
kindstringabove: the price reaches or rises above value; below: reaches or falls below value; rise / fall: changes by value percent within window. Required unless priceCondition is false.
namestringOwn name for the chain; default like "BTC/USDT below 60,000 $".
oncebooleanPause after the first alert; default true for above/below, false for rise/fall.
pairstringTrading pair such as BTC/USDT; required unless coins or top is given.
priceConditionbooleanfalse leaves out the price condition (kind, value, window), so only the conditions count. Default true.
timeframestringCandles for the conditions, only together with them; default 1h, for rise/fall the longest candles up to 1h that fit into window. window must be a whole number of these candles.
topobjectrise/fall only: the top N coins by volume against this quote currency, renewed daily.
valuenumberPrice in the quote currency for above/below, percent (up to 1000) for rise/fall. Required unless priceCondition is false.
windowstringTime window for rise/fall; default 24h.

activate_chain Activate a chain

Activates a chain with the same checks as the app (plan, pairs, free slots) or takes over its saved changes if it already runs. From then on it sends real alerts; chains with webhooks or trading bots trigger those systems. Ask the user first. Problems come back with reasons. Needs a key with “Read and change”.

ParameterTypeDescription
chainId *stringID of the chain, from list_chains.
revisionintegerActivate only this saved revision; default the latest.

pause_chain Pause a chain

Pauses a chain like the pause button in the app: it stops sending alerts and keeps its settings; activate_chain turns it on again. Ask the user first. Needs a key with “Read and change”.

ParameterTypeDescription
chainId *stringID of the chain, from list_chains.

list_nodes List building blocks

The building blocks (nodes) of the chain format: type such as core.rsi, category, name, what it does, smallest plan, and the input and output pins with their types (series = numbers, signal = true/false, text = message). Settings: get_node. Only needed to build or rebuild a chain with create_chain, replay_definition or update_chain.

ParameterTypeDescription
categorystringOnly this category.
searchstringOnly nodes whose type, name or description contain this text.

get_node Read building blocks

Up to 5 node types in detail: pins with names, every setting with default, range, options and explanation, which settings are secret (left empty here, entered in the app) and the page in the docs.

ParameterTypeDescription
types *array

replay_definition Test a chain from building blocks

Replays a chain in the chain format over the past days without saving it: how often it would have fired. Checked like an import first; errors come back with their place in the JSON. Use it before create_chain, or before update_chain with a definition.

ParameterTypeDescription
definition *objectA chain in the Bellchain chain format (https://docs.bellchain.app/en/developers/chain-format/): nodes with id, type and settings, edges from output to input pins. Actions such as core.telegram fire wh…
daysintegerHow many days the replay looks back; default 90, at most replayDays from get_account.
tradeobjectTake-profit and stop-loss for scoring the signals as trades: entry at the close of the alert candle, a candle reaching both counts as SL, every signal on its own. Default: the chain’s or template’…

create_chain Create a chain from building blocks

Creates a chain from your own definition in the chain format (see list_nodes and get_node), saved as a draft that does not run yet; then ask the user before activate_chain. Checked like an import: errors come back with their place, warnings such as an open input are fine in a draft. Prefer create_chain_from_template or create_price_alert when one fits. Secret settings stay empty. Needs a key with “Read and change”.

ParameterTypeDescription
definition *objectA chain in the Bellchain chain format (https://docs.bellchain.app/en/developers/chain-format/): nodes with id, type and settings, edges from output to input pins. Actions such as core.telegram fire wh…

update_chain Change a chain

Changes a chain like saving in the editor: name, single settings and once, or the whole chain as definition (from get_chain, with your changes). Saved as a new revision; an active chain keeps running the previous one until activate_chain. A new name alone applies at once. Give the revision you read; if the chain changed since, nothing is saved. Secret settings stay as they are. Ask the user first. Needs a key with “Read and change”.

ParameterTypeDescription
chainId *stringID of the chain, from list_chains.
revision *integerRevision from get_chain or list_chains that the change builds on.
definitionobjectThe whole chain in the chain format; positions may be left out, secret settings stay empty and keep their values.
namestringOwn name for the chain.
oncebooleanPause the chain after its first alert.
settingsobjectOwn values per node and setting, such as {"k1": {"value": 30}} or {"c1": {"pair": "ETH/USDT"}}; node IDs and settings as in get_chain → definition. Not together with definition.

delete_chain Delete a chain

Deletes a paused chain or a draft for good; this cannot be undone. Active chains must be paused first (pause_chain). Its past alerts stay in the alert history. Right before, name the chain to the user and wait for an explicit yes. name is the chain’s current name, as a check that it is the right one. Needs a key with “Read and change”.

ParameterTypeDescription
chainId *stringID of the chain, from list_chains.
name *stringThe chain’s current name exactly as list_chains or get_chain shows it.