mcp

v5.1.0
ai.elfa/mcp Checked 2 hours ago Published 7 days ago

Get 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.

ParameterTypeDescription
q *stringWhat you hold, for example "btc", "$SOL", "@VitalikButerin" or a contract address.
cursorstringnextCursor from the previous reply. Change any argument but limit and it fails; start again without it.
entityTypearrayNarrow the match to these kinds. Omit to match every kind.
limitintegerItems 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.

ParameterTypeDescription
alertActionarraylevel=events. alert: judged impactful. monitor: worth watching.
arcIdstringlevel=events. Events in one arc's storylines.
assetClassstringlevel=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…
cursorstringnextCursor from the previous reply. Change any argument but limit and it fails; start again without it.
entityIdsarrayUp to 30 ids from the entities tool. Matches any of them.
eventCategoryarraylevel=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…
eventClassstringlevel=events. market: a development reported across posts. asset: posts about one asset. call: accounts taking positions.
eventTypestringlevel=events. What kind of development it is.
fromintegerlevel=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…
hasStorylinebooleanlevel=events. true keeps events in a storyline, false those in none.
idsarrayFetch up to 30 you already hold, by id. No from needed.
implicationstringlevel=events. Which way it cuts for the assets it names.
levelstringWhich level to read.
limitintegerItems per page, up to 30. Keep it small and page with cursor rather than asking for everything at once.
notablebooleanlevel=events. true drops events their storyline marked as not material.
noveltystringlevel=events. update: a later reading of a story already served.
orderstringdesc (default) or asc.
qstringSearch by topic, best match first, for example "stablecoin regulation". from becomes optional.
relationarraylevel=storylines. Storylines holding an event of this relation.
sortstringlevel=events: latest (default), or relevant, which ranks the last 24 hours and takes no from. level=arcs: latest, storylines or events.
statusstringlevel=storylines: open (default; every status with q), dormant or any. level=arcs: active (default) or retired.
tointegerlevel=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…

ParameterTypeDescription
assetClassstringEntries about an asset in this market, plus entries about no asset, such as macro and conferences.
categoryarrayKinds of occasion to keep. Omit for every kind.
confidencearrayofficial: from the project or issuer. reported: by others. rumored: unconfirmed.
cursorstringnextCursor from the previous reply. Change any argument but limit and it fails; start again without it.
entityIdsarrayUp to 30 ids from the entities tool. Matches any of them.
fromintegerStart 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.
limitintegerItems per page, up to 30. Keep it small and page with cursor rather than asking for everything at once.
minImportancenumber0 to 100. 80 keeps the key dates; postponed or cancelled entries keep their score, so add status to drop them.
orderstringasc (default) soonest first, or desc.
statusarrayStatuses to keep. Omit for every status. past: over with nothing reporting it happened. occurred: over, and outcome names the event that reported it.
tointegerEnd 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…

ParameterTypeDescription
ids *arrayUp to 30 event, storyline or arc ids, any mix. An id that is not held is skipped.
limitintegerMarkets 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.

ParameterTypeDescription
cursorstringnextCursor from the previous reply. Change any argument but limit and it fails; start again without it.
fromintegerview=call_book and view=trending_contracts, required. Start of the range, unix seconds, not milliseconds. Trending contracts read 30 days at most.
limitintegerItems per page, up to 200. Keep it small and page with cursor rather than asking for everything at once.
marketstringcrypto or equity. trending_contracts is crypto only.
minMentionsintegerview=trending_contracts. Leave out addresses pasted fewer times. Default 5.
orderstringview=call_book. desc (default) or asc.
periodstringview=mindshare. The stretch share covers, ending at to. Default 4h.
tointegerEnd of the range, unix seconds. Defaults to now.
viewstringWhich 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.

ParameterTypeDescription
assetClassstringlevel=episodes. The market of the position's asset.
cursorstringnextCursor from the previous reply. Change any argument but limit and it fails; start again without it.
directionstringlevel=episodes.
entityIdstringlevel=positioning, required. One token or equity id from the entities tool.
entityIdsarrayUp to 30 token or equity ids from the entities tool. Matches any of them.
fromintegerlevel=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.
handlestringAn X account, with or without @. Telegram channels cannot be filtered on.
idsarraylevel=calls or episodes. Fetch up to 30 call or episode ids you already hold. No from needed.
levelstringWhich level to read.
limitintegerItems per page, up to 30. Keep it small and page with cursor rather than asking for everything at once.
orderstringdesc (default) or asc.
statusstringlevel=episodes.
tointegerEnd 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.

ParameterTypeDescription
cursorstringnextCursor from the previous reply. Change any argument but limit and it fails; start again without it.
limitintegerItems per page, up to 200. Keep it small and page with cursor rather than asking for everything at once.
metricstringstanding (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…
orderstringdesc (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…

ParameterTypeDescription
statement *stringOne checkable claim, as a sentence: who, what and when. Two claims get one verdict.
asOfnumberUnix seconds. Judge the claim as it stood then, reading nothing later. At most 30 days ago and 5 minutes ahead. Defaults to now.
contextstringBackground for the judgement, such as how a prediction market resolves. Never treated as evidence, and it does not change what is searched.
decisionOne 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.

ParameterTypeDescription
method *stringWhich read to perform.
cursorstringmethod=matches. nextCursor from the previous page of the same monitor.
idstringThe monitor id. Required for get and matches.
limitintegermethod=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…

ParameterTypeDescription
method *stringcreate starts a new monitor. update changes one. delete stops and removes one.
idstringRequired for update and delete.
querystringWhat 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…
webhookUrlstringAn 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.

ParameterTypeDescription
message *stringWhat to monitor, in plain language, for example "tell me on Telegram when BTC funding on Binance goes negative".
sessionIdstringContinue refining a query from an earlier reply.
speedstringfast 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…

ParameterTypeDescription
descriptionstringDescription to validate with the query.
draftIdstringValidate a stored draft instead of an inline query.
exchangestringRequired for method=symbol.
methodstringquery validates EQL, symbol checks symbol support.
queryobjectEQL 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…
symbolstringRequired for method=symbol, for example "BTC".
titlestringTitle 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.

ParameterTypeDescription
method *stringWhich read to perform.
afterstringmethod=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…
executionIdstringRequired for method=execution.
limitintegerPage size for list style methods.
offsetintegerPagination offset.
queryIdstringRequired for get, sessions and session.
searchstringFree text filter for method=list.
sessionIdstringRequired for method=session.
statusstringFilter by status.
typestringFilter 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.

ParameterTypeDescription
method *stringcreate activates a new query. cancel stops an active one. delete removes one that has already finished.
descriptionstringWhy this was set up, shown alongside the title.
queryobjectEQL 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…
queryIdstringRequired for cancel and delete.
titlestringShort 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.

ParameterTypeDescription
method *stringWhich read to perform.
draftIdstringRequired for method=get.
limitintegerPage size.
offsetintegerPagination offset.
searchstringFree text filter for method=list.
statusstringFilter 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.

ParameterTypeDescription
method *stringupsert creates or updates a draft. delete removes one. convert activates it as a live query.
descriptionstringDescription carried into the live query.
draftIdstringRequired for delete and convert. Optional on upsert to update.
queryobjectEQL 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…
titlestringTitle 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.

ParameterTypeDescription
mode *stringtop needs ticker. search needs keywords or accountName. news is a feed and needs neither.
accountNamestringX username for mode=search, without the @.
coinIdsstringComma separated CoinGecko coin ids to filter mode=news.
cursorstringPagination cursor from a previous mode=search response.
fromintegerStart of an absolute range, unix seconds. Use with to. For mode=search the range must span at least 1 day and at most 30.
keywordsstringUp to 5 comma separated keywords for mode=search.
limitintegerResult count for mode=search.
pageintegerPage number, starting at 1.
pageSizeintegerItems per page, up to 100. Keep it small and page through rather than asking for everything at once.
repostsbooleanInclude reposts in the results.
searchTypestringHow multiple keywords combine in mode=search.
tickerstringTicker for mode=top, for example "BTC" or "$SOL".
timeWindowstringRelative window such as "1h", "24h" or "7d".
tointegerEnd of an absolute range, unix seconds. Use with from.
verbositystringconcise returns the high signal fields only. Use detailed when you need every metric.

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.

ParameterTypeDescription
fromintegerStart of an absolute range, unix seconds. Use with to.
keywordsstringUp to 5 comma separated keywords for scope=keywords.
maxNarrativesintegerCap the narratives returned for scope=market.
maxTweetsPerNarrativeintegerCap the sources per narrative for scope=market.
scopestringmarket is a broad sweep. keywords needs the keywords argument.
searchTypestringHow multiple keywords combine for scope=keywords.
timeFramestringLookback for scope=market.
timeWindowstringRelative window such as "1h", "24h" or "7d".
tointegerEnd 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.

ParameterTypeDescription
analysisTypestringchat needs message. tokenIntro and tokenAnalysis need symbol, or chain plus contractAddress. accountAnalysis needs username. macro and summary need nothing else.
chainstringChain, paired with contractAddress.
contractAddressstringContract address, paired with chain.
messagestringThe question, required for analysisType=chat.
sessionIdstringContinue an earlier conversation.
speedstringDefaults to fast, which is cheaper and shallower. Ask for expert when the answer needs deeper reasoning.
symbolstringToken symbol, for token analysis.
useMemorybooleantrue 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.
usernamestringX username, for analysisType=accountAnalysis.