# Elfa MCP [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/elfa-ai/mcp  
**GitHub Stars:** 7  
**npm Downloads (last month):** 2185  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-11

## Description
Crypto social intelligence from X and Telegram, plus the Elfa Auto condition engine

## Tools
Capabilities this server exposes over MCP:

- **api_status** — Check API key tier, credit usage and remaining requests, and historyFrom, how far back events, market and calls read. Also confirms the API is reachable.
- **entities** — Resolve a ticker, $cashtag, name, @handle, contract address, CoinGecko id, FIGI or CIK to the entity id that events and calls take. Matches exactly, it is not a search.
- **events** — What is happening in crypto and equity markets. level=events for what happened and how prices reacted, level=storylines for one development threaded over days, level=arcs for storylines grouped into a larger movement. Searchable by topic.
- **calendar** — What is scheduled across crypto, equities and macro: launches, unlocks, votes, listings, earnings, data releases, rate decisions and more, soonest first, with how reliable each date is.
- **prediction_markets** — The open Polymarket and Kalshi markets that events, storylines or arcs bear on, and how their odds moved around the story.
- **market** — Whole-market views for crypto or equities. view=mindshare ranks assets by share of attention, view=call_book is the crowd's long/short lean hour by hour, view=trending_contracts ranks contract addresses by how many posts pasted them.
- **calls** — Positions accounts take in posts. level=calls for each post that takes or changes a position, level=episodes for each position from open to close with the author's track record, level=positioning for open longs and shorts on one asset now.
- **top_accounts** — X accounts ranked by standing (how much other accounts engage with them) or, with metric, by their track record as callers (alphaScore, hitRate, avgReturn).
- **verify** — Check whether one claim is true against recent X posts, public Telegram channels and web pages. Returns a verdict (supported, contradicted or notEnoughEvidence), its probabilities and links to the evidence, and can answer a yes/no, choice or score question from the same evidence.
- **monitors** — Read side of Monitors: list this key's monitors, read one, and page through a monitor's matches.
- **monitors_write** — Create, update or delete a monitor, which watches new Elfa events and the web for something described in one sentence and sends each match to a signed webhook until deleted.
- **auto_build** — Turn a plain-language monitoring request into an EQL query. Returns a draft to validate and activate, it does not activate anything itself.
- **auto_validate** — Check EQL syntax and get a cost estimate before activating, or check that a symbol has market data on a venue.
- **auto_query** — Read side of Auto: list queries, poll one query, and read its executions and LLM sessions.
- **auto_query_write** — Activate, cancel or delete an Auto query. Activated queries run unattended and fire their action when conditions are met.
- **auto_draft** — Read side of Auto drafts: list saved drafts and read one. Drafts are queries parked without activating; they never evaluate or fire.
- **auto_draft_write** — Create, update, delete or activate an Auto draft. Converting a draft activates it as a live query that runs unattended.
- **mentions** — Social mentions from X and Telegram. mode=top ranks a ticker's mentions by engagement, mode=search filters by keyword or account, mode=news returns the token news feed, which is X posts from accounts tagged as news sources rather than articles from news outlets.
- **trending** — What is gaining social attention. scope=tokens for tickers, scope=contracts_twitter or scope=contracts_telegram for contract addresses.
- **narratives** — Written narrative analysis with source links. scope=market extracts market-wide narratives, scope=keywords summarises events for specific keywords.
- **market_chat** — Ask for written market analysis. Supports conversational chat, macro overview, quick summary, token intro, token analysis and account analysis.

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

```json
"mcpServers": {
  "elfa-mcp": {
    "command": "npx",
    "args": ["-y","@elfa-ai/mcp"],
    "env": {
      "ELFA_API_KEY": ""
    }
  }
}
```

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

## Documentation

## What Elfa MCP does

Elfa MCP exposes the Elfa API through MCP for market and social intelligence across crypto and equities. The server combines structured market data with activity from X and Telegram, allowing an MCP client to inspect what is changing, which assets are attracting attention, and how accounts are positioning themselves.

Its analysis tools cover several levels of interpretation. `events` returns market developments and price reactions, while storylines connect one development across multiple days and arcs group related storylines into a broader movement. `mentions` retrieves ranked, filtered, or news-source posts, and `trending` identifies assets or contract addresses gaining attention. `narratives` and `market_chat` provide written analysis with different supported scopes.

The Auto feature adds a condition engine for unattended monitoring. An agent can create an EQL draft from a plain-language request, validate its syntax and estimated cost, then activate it as a query that evaluates conditions and fires its configured action.

## How it works

The server supports hosted remote use at `https://mcp.elfa.ai/mcp` or local execution through the `@elfa-ai/mcp` package. Hosted access uses browser sign-in with an Elfa developer account. Local execution uses an Elfa API key and can be launched on demand with `npx`.

For entity-based API v3 queries, resolve a ticker, cashtag, name, handle, contract address, or supported financial identifier with `entities` first. The returned entity ID is then used by tools such as `events`, `market`, and `calls`; these tools do not take tickers directly as their entity filter.

Auto drafts remain inactive and do not evaluate or fire. Converting a draft or creating an Auto query activates unattended execution. Long-lived streaming endpoints are not exposed as MCP tools; query status and executions are read by polling `auto_query` instead.

## Setup and configuration

Add the hosted MCP endpoint to a compatible client and complete browser authorization, or configure a local stdio server with the Elfa package. A local setup requires `ELFA_API_KEY` for request authentication. Claude Code can add the server with `claude mcp add`, while JSON-based clients use an `mcpServers` entry; VS Code uses `servers` instead.

Optional environment variables control request behavior:

- `ELFA_TIMEOUT` sets the upstream timeout in milliseconds.
- `ELFA_RETRIES` controls retries after failures.
- `ELFA_MCP_MAX_RESPONSE_CHARS` limits response size.
- `ELFA_EXTRA_HEADERS` supplies additional upstream headers as a JSON object.

The default timeout accommodates interpretation endpoints that may take more than a minute. Retries are disabled by default because failed-looking interpretation requests can still consume credits. A client-side timeout may end its wait before a request completes.

## Tools and capabilities

- Check API reachability, key tier, credit usage, request limits, and available history with `api_status`.
- Resolve supported asset, account, and financial identifiers with `entities`.
- Inspect events, storylines, arcs, mindshare, call books, trending contracts, calls, episodes, positioning, and ranked accounts.
- Search or rank X and Telegram activity with `mentions` and identify rising attention with `trending`.
- Generate market-wide or keyword-focused written narratives with source links through `narratives`.
- Request conversational, macro, token, or account analysis with `market_chat`.
- Build, validate, read, activate, cancel, delete, and manage Auto queries and drafts.

## Limitations and notes

Access depends on the Elfa API key and plan. `market_chat` requires a higher-tier plan than the free tier, and some API v3 access can depend on key scopes. The tools remain listed when unavailable, but a restricted call returns an upgrade link rather than consuming API credits.

API operations consume credits according to the endpoint and request shape. Interpretation tools can take longer than typical MCP client timeouts, and a client that stops waiting does not necessarily stop the upstream request or its charge. API v3 tools support both crypto and equities, while social-intelligence features draw from X and Telegram.

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

