sellthenews-mcp
A read-only MCP server that provides access to financial news, Wall Street Bets sentiment analysis, and detailed options data from sellthenews.org. It enables LLMs to retrieve real-time news feeds, search historical data, and analyze options chains or Greek exposure for specific tickers.
README
sellthenews-mcp
A read-only MCP (Model Context Protocol) server that wraps sellthenews.org API endpoints, making financial news and options data available as tools for LLMs like Claude.
Architecture
sellthenews.org API → Adapters → Services → MCP Tools & Resources
Four layers, each with one job:
| Layer | What it does | Files |
|---|---|---|
| Domain | Defines TypeScript types for all data shapes | src/domain/*.types.ts |
| Adapters | Fetch raw JSON from upstream APIs (no processing) | src/adapters/*.adapters.ts |
| Services | Normalize raw data into clean domain objects | src/services/*.service.ts |
| MCP | Expose tools and resources to LLM clients | src/mcp/*.tools.ts |
Data flows left to right: the MCP layer calls services, services call adapters, adapters call the HTTP client.
Upstream APIs
| Endpoint | Description |
|---|---|
GET /api/live/recent |
Latest news feed with pinned stories |
GET /api/wsb/latest |
Wall Street Bets daily analysis snapshot |
GET /api/search |
Keyword-based news search |
GET /api/options/chain |
Options chain, GEX, and greek exposure |
MCP Tools
| Tool | Description | Key inputs |
|---|---|---|
get_recent_news |
Latest news stories | limit, offset, lang, sources, marketOnly |
get_wsb_snapshot |
WSB daily analysis | lang |
search_news |
Search news by keyword | query, limit, offset, lang, sources, sort |
get_options_chain |
Full options chain for a ticker | ticker, expiration, greeks |
get_options_summary |
Concise options exposure summary | ticker |
MCP Resources
| URI | Description |
|---|---|
sellthenews://news/recent |
Latest news feed (ambient context) |
sellthenews://wsb/latest |
Latest WSB snapshot (ambient context) |
Setup
npm install
npm run build
Run Locally
npm start
The server runs over stdio, so it is meant to be launched by an MCP client such as Claude Desktop or an MCP inspector rather than opened in a browser.
For private single-user compatibility testing, the HTTP client can also read SELLTHENEWS_USER_AGENT, SELLTHENEWS_COOKIE, SELLTHENEWS_ACCEPT_LANGUAGE, and SELLTHENEWS_REFERER from the environment and forward them as request headers when present.
Usage with Claude Desktop
Add this to your Claude Desktop MCP config file. On macOS it's at ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows it's at %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"sellthenews": {
"command": "node",
"args": ["/REPLACE/WITH/YOUR/ACTUAL/PATH/sellthenews_MCP/dist/index.js"]
}
}
}
Important: Replace the path above with the actual absolute path to
dist/index.json your machine. For example, on Windows it might beC:\\Users\\yourname\\Desktop\\sellthenews_MCP\\dist\\index.js.
Project Structure
src/
domain/
shared.types.ts # Common types (SourceInfo, TickerMention, etc.)
news.types.ts # News domain: raw API types + clean domain types
options.types.ts # Options domain: raw API types + clean domain types
infra/
http-client.ts # HTTP client wrapping fetch()
adapters/
news.adapters.ts # 3 news adapters (live/recent, wsb, search)
options.adapters.ts # 1 options adapter (options/chain)
services/
news.service.ts # News normalization logic
options.service.ts # Options normalization logic
mcp/
news.tools.ts # News MCP tools + resources + Zod schemas
options.tools.ts # Options MCP tools + Zod schemas
index.ts # Entry point: wires layers, starts server
Current Status
Stage 2A is complete. The repository now performs real upstream GET requests, normalizes raw responses into domain objects, and exposes live MCP tools/resources that return consistent JSON text.
Implemented now:
HttpClient.get()with URL building, timeout handling, JSON parsing, and clearer error messages- Real adapters for all four identified sellthenews endpoints
- Service-layer normalization for news feeds, WSB snapshots, options chains, and options summaries
- Live MCP tool and resource handlers wired to the service layer
- Optional env-driven compatibility headers for private single-user testing when plain server-side requests hit upstream protection
Still pending:
- Automated tests for adapters, services, and MCP smoke coverage
- Better operational hardening if upstream failures or Cloudflare issues show up in practice
- Stage 3 concerns such as caching, rate limiting, and production logging
Quick Smoke Check
- Run
npm run build - Run
npm start - Connect the server from Claude Desktop or an MCP inspector
- Call
get_recent_newswith{ "limit": 2 }orget_options_summarywith{ "ticker": "MU" }
If upstream access works, the response should be pretty-printed JSON instead of placeholder text.
If upstream blocks plain server-side requests, retry your local run with SELLTHENEWS_USER_AGENT, SELLTHENEWS_COOKIE, SELLTHENEWS_ACCEPT_LANGUAGE, and SELLTHENEWS_REFERER set in the environment as needed.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.