tryAspen.ai

An MCP that gives AI agents live market commentary from X & YouTube as scored trading signals

tryAspen.ai

Created At

ETHGlobal Mumbai

Project Description

Aspen MCP is a research layer for AI agents that trade or analyse markets. Plug it into Claude, ChatGPT, Cursor or Codex and your agent can see what traders and analysts are saying right now, already turned into structured, scored trading signals, with a track record behind every source.

Aspen follows ~130 sources: X accounts, YouTube channels and websites. When one posts, Aspen reads the post (or the full video transcript), separates observations from actual calls, resolves which markets it is about (crypto, US stocks, indices, commodities, pre-IPO names, all tradable as perps on Hyperliquid) and records the direction, confidence, rationale and the market price at the moment of the call. Every call is then scored against what the price did next, so each source has a measured record per market.

The MCP exposes all of this as 10 read-only tools with no sign-in:

  • get_feed, search_feed, get_feed_facets: the live signal feed, filterable by market, side, source, topic and time window, plus semantic search ("rate cuts", "AI capex")
  • list_sources, get_source, get_similar_sources: who Aspen follows, and who posts about the same things
  • get_source_record, get_source_history: hit rate, mean signed move, and whether following or countering a source has paid, per market
  • list_markets: every market on the venue with its max leverage
  • get_positioning: how Aspen's users are positioned with real money, per market

So an agent can answer "What are people saying about NVDA this week, who is bearish, and have they been right before?" in one conversation, with every claim linked back to the original post.

Endpoint: https://api.tryaspen.ai/mcp (Streamable HTTP, no auth)

How it's Made

TypeScript end to end on Effect. The MCP server is built with Effect's AI module (McpServer + Toolkit) and mounted on the same HTTP router as Aspen's public API. Each tool calls the exact loader its HTTP route uses and answers with the API's own contract schema as its output schema, so the agent and the app can never disagree about the data.

The pipeline underneath: the X API and Supadata (YouTube transcripts) for ingestion; OpenAI models for the analysis that turns a post into observations and market-resolved long/short signals; OpenAI embeddings + Qdrant for semantic search and "similar sources"; Postgres for the feed, signals and scoring; Hyperliquid for the market universe, entry prices and price history used to score every call.

The notable part is how we tuned it for agents rather than humans. We wrote a 50-question eval (breaking news, asset commentary, "is it priced in?", crowd positioning, source credibility, edge cases) and ran it against production with one Claude agent per section, using only the MCP. The baseline showed answers costing 120 to 340 KB per search call. We then cut responses down for a model's context: page limits on feed and search, post text trimmed to card length with the full post one link away, a summary-by-default track record (per-trade charts only on request), and folding of repeated calls from the same source within 72 hours. We also added the get_positioning tool and last-polled timestamps so an agent can tell a quiet source from a broken one.

Transport details: Streamable HTTP supporting four MCP protocol versions including the sessionless 2026-07-28 revision, a bounded session ledger with idle eviction, a 16 KiB request body cap, and search rate-limited per client using the same limiter as the HTTP route. Every tool is annotated read-only and idempotent, and nothing touches a user account.

background image mobile

Join the mailing list

Get the latest news and updates

tryAspen.ai | ETHGlobal