mcp
v5.1.0Get events, answers, verdicts and alerts from social and web data.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
api_status API key status
Check the Elfa API key tier, credit usage and remaining requests, and confirm the API is reachable. Free. historyFrom is the earliest time, in unix seconds, the events, market and calls tools read on this plan.
entities Entities
Turn a ticker, $cashtag, name, @handle, contract address, CoinGecko id, FIGI or CIK into the entity id that events and calls take.. It matches exactly, it is not a search: a prefix or a misspelling returns nothing. A ticker is not unique, so take the first row and check its name, or narrow with entityType. Forms of an asset share one family id where known: WBTC and cbBTC are Bitcoin. Resolve once and reuse the id.
| Parameter | Type | Description |
|---|---|---|
q * | string | What you hold, for example "btc", "$SOL", "@VitalikButerin" or a contract address. |
cursor | string | nextCursor from the previous reply. Change any argument but limit and it fails; start again without it. |
entityType | array | Narrow the match to these kinds. Omit to match every kind. |
limit | integer | Items per page, up to 200. Keep it small and page with cursor rather than asking for everything at once. |
events Events
What is happening in crypto and equity markets, written up from posts across many sources.. level=events: what happened, what it names, how prices reacted where measured (impacts is empty on most events), and the posts behind it. level=storylines: the events of one development, threaded over days. level=arcs: storylines grouped into a larger movement. Search any level by topic with q, filter by asset with entityIds from the entities tool, or fetch up to 30 you hold with ids. Not returned: post text, a sentiment score or a price.
| Parameter | Type | Description |
|---|---|---|
alertAction | array | level=events. alert: judged impactful. monitor: worth watching. |
arcId | string | level=events. Events in one arc's storylines. |
assetClass | string | level=events: events tied to this market by what they name, plus events tied to neither, such as macro news; a repeated query can return fewer as names get linked to assets. level=arcs: arcs with at l… |
cursor | string | nextCursor from the previous reply. Change any argument but limit and it fails; start again without it. |
entityIds | array | Up to 30 ids from the entities tool. Matches any of them. |
eventCategory | array | level=events. What happened, any of these. Combines with eventType, which is the domain: eventType=macro with eventCategory economy, commentary and forecast. An event with no category never matches. N… |
eventClass | string | level=events. market: a development reported across posts. asset: posts about one asset. call: accounts taking positions. |
eventType | string | level=events. What kind of development it is. |
from | integer | level=events or storylines. Start of the range, unix seconds, not milliseconds. Required unless you fetch by ids or search with q. Arcs take no from. api_status returns historyFrom, the earliest time… |
hasStoryline | boolean | level=events. true keeps events in a storyline, false those in none. |
ids | array | Fetch up to 30 you already hold, by id. No from needed. |
implication | string | level=events. Which way it cuts for the assets it names. |
level | string | Which level to read. |
limit | integer | Items per page, up to 30. Keep it small and page with cursor rather than asking for everything at once. |
notable | boolean | level=events. true drops events their storyline marked as not material. |
novelty | string | level=events. update: a later reading of a story already served. |
order | string | desc (default) or asc. |
q | string | Search by topic, best match first, for example "stablecoin regulation". from becomes optional. |
relation | array | level=storylines. Storylines holding an event of this relation. |
sort | string | level=events: latest (default), or relevant, which ranks the last 24 hours and takes no from. level=arcs: latest, storylines or events. |
status | string | level=storylines: open (default; every status with q), dormant or any. level=arcs: active (default) or retired. |
to | integer | level=events or storylines. End of the range, unix seconds. Defaults to now. |
calendar Calendar
What is scheduled across crypto, equities and macro: launches, unlocks, votes, listings, earnings, data releases, rate decisions, hearings, conferences and deadlines. Soonest first, reaching about 400 days ahead. With no range it reads ahead from 00:00 UTC today for 30 days. Each entry has startsAt, precision (exact, or day: read date, which never shifts with a time zone), status, importance (0 to 100; 80 and up, unless postponed or cancelled, is a key date, about two a day), confidence (official, reported or rumored), the entities it is about, and the eventIds and storylineIds that reported t…
| Parameter | Type | Description |
|---|---|---|
assetClass | string | Entries about an asset in this market, plus entries about no asset, such as macro and conferences. |
category | array | Kinds of occasion to keep. Omit for every kind. |
confidence | array | official: from the project or issuer. reported: by others. rumored: unconfirmed. |
cursor | string | nextCursor from the previous reply. Change any argument but limit and it fails; start again without it. |
entityIds | array | Up to 30 ids from the entities tool. Matches any of them. |
from | integer | Start of the range, unix seconds, not milliseconds. Defaults to 00:00 UTC today, or 30 days before to when to is earlier. An entry still running at from is listed too. |
limit | integer | Items per page, up to 30. Keep it small and page with cursor rather than asking for everything at once. |
minImportance | number | 0 to 100. 80 keeps the key dates; postponed or cancelled entries keep their score, so add status to drop them. |
order | string | asc (default) soonest first, or desc. |
status | array | Statuses to keep. Omit for every status. past: over with nothing reporting it happened. occurred: over, and outcome names the event that reported it. |
to | integer | End of the range, unix seconds, inclusive. Defaults to 30 days after from. |
prediction_markets Prediction markets
The open Polymarket and Kalshi markets that events, storylines or arcs bear on, and how their odds moved around the story. Send up to 30 ids of any of the three kinds, mixed if you like; each comes back with kind and its markets, most relevant first. Each market has provider and marketId, title, url, closesAt (null when it can trade past its set date) and the eventIds that point at it. move is one outcome's odds an hour before and an hour after a story's first post, and whether that was unusual for the market; it is null when no move was measured. Most events have no market, about one in eight…
| Parameter | Type | Description |
|---|---|---|
ids * | array | Up to 30 event, storyline or arc ids, any mix. An id that is not held is skipped. |
limit | integer | Markets per id, up to 30. |
market Market
Whole-market views, no asset needed.. view=mindshare ranks assets by share of attention over a period, with hot on those heating up. view=call_book is the crowd's long/short lean, one bar per hour plus a live tick: read crowdingPercentile rather than longShare, since the accounts lean long almost always. view=trending_contracts ranks contract addresses by how many posts pasted them, crypto only, and the unnamed ones are often the ones worth watching.
| Parameter | Type | Description |
|---|---|---|
cursor | string | nextCursor from the previous reply. Change any argument but limit and it fails; start again without it. |
from | integer | view=call_book and view=trending_contracts, required. Start of the range, unix seconds, not milliseconds. Trending contracts read 30 days at most. |
limit | integer | Items per page, up to 200. Keep it small and page with cursor rather than asking for everything at once. |
market | string | crypto or equity. trending_contracts is crypto only. |
minMentions | integer | view=trending_contracts. Leave out addresses pasted fewer times. Default 5. |
order | string | view=call_book. desc (default) or asc. |
period | string | view=mindshare. The stretch share covers, ending at to. Default 4h. |
to | integer | End of the range, unix seconds. Defaults to now. |
view | string | Which view to read. |
calls Calls
What accounts are doing: positions taken in posts on X and Telegram.. level=calls: each post that opened, added to, trimmed, reaffirmed, reversed, closed or stopped out of a position. level=episodes: each position from open to close, with entry and exit prices and the author's track record. level=positioning: open longs and shorts on one asset right now. level=episodes with status=open and from set to now reads what every matching account holds right now. Not returned: post text or a recommendation.
| Parameter | Type | Description |
|---|---|---|
assetClass | string | level=episodes. The market of the position's asset. |
cursor | string | nextCursor from the previous reply. Change any argument but limit and it fails; start again without it. |
direction | string | level=episodes. |
entityId | string | level=positioning, required. One token or equity id from the entities tool. |
entityIds | array | Up to 30 token or equity ids from the entities tool. Matches any of them. |
from | integer | level=calls or episodes. Start of the range, unix seconds, not milliseconds. Required unless you fetch by ids. Episodes match a position open at any point in the range. |
handle | string | An X account, with or without @. Telegram channels cannot be filtered on. |
ids | array | level=calls or episodes. Fetch up to 30 call or episode ids you already hold. No from needed. |
level | string | Which level to read. |
limit | integer | Items per page, up to 30. Keep it small and page with cursor rather than asking for everything at once. |
order | string | desc (default) or asc. |
status | string | level=episodes. |
to | integer | End of the range, unix seconds. Defaults to now. |
top_accounts Top accounts
X accounts ranked by standing (how much other accounts engage with them) or, with metric, by their track record as callers.. Standing measures attention, not accuracy; track is null for an account that has never opened a position. For the best callers use metric=alphaScore, not avgReturn, which a few big wins or a rally can top. Track metrics rank only accounts with at least 20 scored positions, over every position since late June 2026; scoredEpisodes is the number of positions behind each account's track metrics.
| Parameter | Type | Description |
|---|---|---|
cursor | string | nextCursor from the previous reply. Change any argument but limit and it fails; start again without it. |
limit | integer | Items per page, up to 200. Keep it small and page with cursor rather than asking for everything at once. |
metric | string | standing (default). alphaScore: return against the market (BTC for crypto, SPY for equities) and outright. hitRate: share of scored positions that made money. avgReturn: mean realized return, not adju… |
order | string | desc (default) ranks the highest first. |
verify Verify
Check whether one claim is true against X posts and public Telegram channels from the 7 days before asOf, and web pages published by then. 1 credit per call whatever the verdict; errors cost nothing. verdict is supported, contradicted or notEnoughEvidence, which means unknown, not false, and also covers a most likely verdict under 0.5. probabilities gives each verdict. evidence holds up to 10 links in all, in one list per source (twitter, telegram, web), most decisive first; basis marks the up to 3 the verdict rests on. coverage.complete false means a source did not answer in time, so the verd…
| Parameter | Type | Description |
|---|---|---|
statement * | string | One checkable claim, as a sentence: who, what and when. Two claims get one verdict. |
asOf | number | Unix seconds. Judge the claim as it stood then, reading nothing later. At most 30 days ago and 5 minutes ahead. Defaults to now. |
context | string | Background for the judgement, such as how a prediction market resolves. Never treated as evidence, and it does not change what is searched. |
decision | One more question asked of the same evidence, at no extra cost. yesNo returns yes, the probability the answer is yes. choice returns the most likely label and a probability per label. score returns th… |
monitors Read monitors
Read side of Monitors. Free. method=list returns this key's newest 100 monitors, live ones and ones Elfa ended in the last 30 days, with no paging. method=get returns one monitor. Each monitor carries its query, webhookUrl, webhookSecret, status (active, or ended when Elfa stopped it, for example when the key could not pay for an hour) and createdAt and updatedAt in unix seconds. method=matches returns one monitor's matches, newest first, kept for 30 days: each match lists the Elfa events or web pages that matched, with an event's id for the events tool.
| Parameter | Type | Description |
|---|---|---|
method * | string | Which read to perform. |
cursor | string | method=matches. nextCursor from the previous page of the same monitor. |
id | string | The monitor id. Required for get and matches. |
limit | integer | method=matches. Matches per page, up to 100. Keep it small and page with cursor rather than asking for everything at once. |
monitors_write Write monitors
Create, update or delete a monitor. A monitor checks each new Elfa event against a plain-words query, and searches the web for it every hour, and POSTs each match to webhookUrl, signed with Standard Webhooks. It reports only what appears after it is created, and runs unattended until deleted. A live monitor costs 2 credits for each started hour, the first hour on create, which is 1,440 credits for a 30-day month; update and delete are free, and a failed create is never charged. A key holds 20 live monitors. create returns the monitor with webhookSecret, which verifies its webhook signatures an…
| Parameter | Type | Description |
|---|---|---|
method * | string | create starts a new monitor. update changes one. delete stops and removes one. |
id | string | Required for update and delete. |
query | string | What should match, in plain words, 3 to 500 characters, such as "Binance announces it will delist a token". It is the whole condition, matched by meaning: search syntax and time ranges add nothing. Re… |
webhookUrl | string | An https URL on a public host that receives each match. Private and reserved addresses are refused. Required for create. |
auto_build Auto query builder
Turn a plain-language monitoring request into an EQL query. Costs 1 credit plus LLM usage. This only drafts the query: nothing runs until it is activated. Say what to watch, the threshold, and what should happen when it fires. It drafts tweet conditions only for accounts in Elfa's real-time set (included), not for other X accounts.
| Parameter | Type | Description |
|---|---|---|
message * | string | What to monitor, in plain language, for example "tell me on Telegram when BTC funding on Binance goes negative". |
sessionId | string | Continue refining a query from an earlier reply. |
speed | string | fast is cheaper, expert reasons more deeply about the query. |
auto_validate Validate Auto query
Check EQL syntax and get the estimated cost of activating a query. Free. tweetAccounts lists the X account behind each tweet condition: billing=per_post accounts cost creditsPerPost for every post from the account (not replies or reposts), matched or not, while the query runs, on top of estimatedCredits. followAccounts lists the X account behind each x_follow_made or x_follow_overlap condition: billing=per_day accounts cost creditsPerDay for each UTC day their follows are read while the query runs, also on top of estimatedCredits. Pass either an inline query or a draftId. method=symbol instead…
| Parameter | Type | Description |
|---|---|---|
description | string | Description to validate with the query. |
draftId | string | Validate a stored draft instead of an inline query. |
exchange | string | Required for method=symbol. |
method | string | query validates EQL, symbol checks symbol support. |
query | object | EQL query as a JSON object, not a string, with conditions, actions and expiresIn. auto_build drafts one inside its response text. Actions are notify or webhook: a query carrying a credential, such as… |
symbol | string | Required for method=symbol, for example "BTC". |
title | string | Title to validate with the query. |
auto_query Read Auto queries
Read side of Auto. method=list, method=executions and method=execution cost 1 credit each; method=get, method=sessions and method=session are free. method=list browses queries, method=get polls one query and returns its latest evaluation, plus failure when it failed with a recorded reason, method=executions and method=execution show what fired, method=sessions and method=session return the LLM analysis attached to a query. There is no push channel here, poll with method=get and respect pollAfterSeconds.
| Parameter | Type | Description |
|---|---|---|
method * | string | Which read to perform. |
after | string | method=executions. Reads every execution once, oldest first: pass start, then pagination.nextCursor from the previous page. hasMore=false means none are ready yet, not the end, so poll again later. An… |
executionId | string | Required for method=execution. |
limit | integer | Page size for list style methods. |
offset | integer | Pagination offset. |
queryId | string | Required for get, sessions and session. |
search | string | Free text filter for method=list. |
sessionId | string | Required for method=session. |
status | string | Filter by status. |
type | string | Filter executions by type. |
auto_query_write Write Auto queries
Activate, cancel or delete an Auto query. Creating costs 5 credits, plus each llm condition check and llm action run as it happens and each post a text condition checks; cancel and delete are free. An activated query runs unattended and fires its action without asking again. Per-post X accounts in its tweet conditions and per-day accounts in its x_follow_made or x_follow_overlap conditions are billed on top while it runs.
| Parameter | Type | Description |
|---|---|---|
method * | string | create activates a new query. cancel stops an active one. delete removes one that has already finished. |
description | string | Why this was set up, shown alongside the title. |
query | object | EQL query as a JSON object, not a string, with conditions, actions and expiresIn. auto_build drafts one inside its response text. Actions are notify or webhook: a query carrying a credential, such as… |
queryId | string | Required for cancel and delete. |
title | string | Short title shown in the notification when this fires. |
auto_draft Read Auto drafts
Read side of Auto drafts. Each call costs 1 credit. method=list browses saved drafts, method=get returns one draft. A draft is an Auto query parked without activating it: it never evaluates and never fires.
| Parameter | Type | Description |
|---|---|---|
method * | string | Which read to perform. |
draftId | string | Required for method=get. |
limit | integer | Page size. |
offset | integer | Pagination offset. |
search | string | Free text filter for method=list. |
status | string | Filter for method=list. |
auto_draft_write Write Auto drafts
Create, update, delete or activate an Auto draft. method=upsert parks a query as a draft without activating it; drafts never evaluate and never fire. method=delete removes a draft. method=convert activates a draft as a live query, which runs unattended and fires its action without asking again, and costs the same as creating a query. upsert and delete cost 1 credit each.
| Parameter | Type | Description |
|---|---|---|
method * | string | upsert creates or updates a draft. delete removes one. convert activates it as a live query. |
description | string | Description carried into the live query. |
draftId | string | Required for delete and convert. Optional on upsert to update. |
query | object | EQL query as a JSON object, not a string, with conditions, actions and expiresIn. auto_build drafts one inside its response text. Actions are notify or webhook: a query carrying a credential, such as… |
title | string | Title carried into the live query. |
mentions Mentions
Social mentions from X and Telegram. 1 credit per call. Returns engagement metrics and a link per post, not the post text. mode=top ranks one ticker's mentions by engagement. mode=search filters by keywords or by account. mode=news returns the token news feed, which is X posts from accounts tagged as news sources rather than articles from news outlets.
| Parameter | Type | Description |
|---|---|---|
mode * | string | top needs ticker. search needs keywords or accountName. news is a feed and needs neither. |
accountName | string | X username for mode=search, without the @. |
coinIds | string | Comma separated CoinGecko coin ids to filter mode=news. |
cursor | string | Pagination cursor from a previous mode=search response. |
from | integer | Start of an absolute range, unix seconds. Use with to. For mode=search the range must span at least 1 day and at most 30. |
keywords | string | Up to 5 comma separated keywords for mode=search. |
limit | integer | Result count for mode=search. |
page | integer | Page number, starting at 1. |
pageSize | integer | Items per page, up to 100. Keep it small and page through rather than asking for everything at once. |
reposts | boolean | Include reposts in the results. |
searchType | string | How multiple keywords combine in mode=search. |
ticker | string | Ticker for mode=top, for example "BTC" or "$SOL". |
timeWindow | string | Relative window such as "1h", "24h" or "7d". |
to | integer | End of an absolute range, unix seconds. Use with from. |
verbosity | string | concise returns the high signal fields only. Use detailed when you need every metric. |
trending Trending
What is gaining social attention right now. 1 credit per call. scope=tokens returns tickers ranked by mention volume with the change against the previous window. scope=contracts_twitter and scope=contracts_telegram return trending contract addresses.
| Parameter | Type | Description |
|---|---|---|
from | integer | Start of an absolute range, unix seconds. Use with to. |
minMentions | integer | Drop entries below this mention count. |
page | integer | Page number, starting at 1. |
pageSize | integer | Items per page, up to 100. Keep it small and page through rather than asking for everything at once. |
scope | string | Which trending list to return. |
timeWindow | string | Relative window such as "24h" or "7d". Defaults to 24h unless both from and to are given. |
to | integer | End of an absolute range, unix seconds. Use with from. |
narratives Narratives
Written narrative analysis with source links, for when counts are not enough. 5 credits, or 1 when empty. scope=market extracts the narratives moving the market. scope=keywords summarises events for keywords you supply, and can take over a minute to return.
| Parameter | Type | Description |
|---|---|---|
from | integer | Start of an absolute range, unix seconds. Use with to. |
keywords | string | Up to 5 comma separated keywords for scope=keywords. |
maxNarratives | integer | Cap the narratives returned for scope=market. |
maxTweetsPerNarrative | integer | Cap the sources per narrative for scope=market. |
scope | string | market is a broad sweep. keywords needs the keywords argument. |
searchType | string | How multiple keywords combine for scope=keywords. |
timeFrame | string | Lookback for scope=market. |
timeWindow | string | Relative window such as "1h", "24h" or "7d". |
to | integer | End of an absolute range, unix seconds. Use with from. |
market_chat Market chat
Ask Elfa for written market analysis grounded in its social data. Costs credits and varies by speed, so fast is the cheaper option. Pass sessionId from a previous reply to continue the same conversation. The reply includes sources: links to the posts and pages the research read (links only, not their text), so you can cite or check them.
| Parameter | Type | Description |
|---|---|---|
analysisType | string | chat needs message. tokenIntro and tokenAnalysis need symbol, or chain plus contractAddress. accountAnalysis needs username. macro and summary need nothing else. |
chain | string | Chain, paired with contractAddress. |
contractAddress | string | Contract address, paired with chain. |
message | string | The question, required for analysisType=chat. |
sessionId | string | Continue an earlier conversation. |
speed | string | Defaults to fast, which is cheaper and shallower. Ask for expert when the answer needs deeper reasoning. |
symbol | string | Token symbol, for token analysis. |
useMemory | boolean | true lets the request read and add to the saved memory of the Elfa account that owns the API key. Omitted, it neither reads nor writes memory. Leave it off when one key serves many people. |
username | string | X username, for analysisType=accountAnalysis. |