WSB Analyst MCP Server
The WSB Analyst MCP Server enables you to fetch and analyze WallStreetBets (WSB) data using LLM clients like Claude. Key capabilities include:
Fetch and filter WSB posts by score, comments, and content type
Extract detailed post information including comments, links, and metadata
Identify trending stock tickers from WSB discussions
Collect external links shared in WSB posts
Use ready-made prompt templates for guided market analysis
Integrate with Claude Desktop and other MCP clients for real-time analysis
Connect with Firecrawl MCP Server to analyze external linked content
Allows specific analysis of AMD stock mentions on WallStreetBets, including the ability to gather external resources that WSB users are sharing about AMD stock.
Accesses Reddit's API to pull real-time data from WallStreetBets, allowing filtering of posts by score, comment count, and content type, as well as extracting comments, metadata, and shared links for market analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WSB Analyst MCP Server What are the most discussed stocks on WallStreetBets right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WSB Analyst MCP Server
A Model Context Protocol (MCP) server that provides real-time WallStreetBets data for analysis with Claude or other LLM clients.
Features
Fetch WallStreetBets Posts: Filter posts by score, comment count, and content type
Detailed Post Analysis: Extract comments, links, and metadata from posts
External Link Collection: Gather links being shared in WSB discussions
Analysis Templates: Ready-to-use prompt templates for market analysis
Progress Reporting: Real-time progress updates during data collection
MCP Integration: Seamless integration with Claude Desktop and other MCP clients
Related MCP server: MCP Reddit Server
Requirements
Python 3.12 or higher
Reddit API credentials
Claude Desktop or another MCP client
Installation
Installing via Smithery
To install WSB Analyst for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ferdousbhai/wsb-analyst-mcp --client claudeClone this repository or download the source files:
git clone https://github.com/ferdousbhai/wsb-analyst-mcp
cd wsb-analyst-mcpCreate a virtual environment and install dependencies:
# Using uv (recommended)
uv syncSetting Up Reddit API Credentials
To use this server, you need to create a Reddit application to get API credentials:
Log in to your Reddit account
Navigate to https://www.reddit.com/prefs/apps
Scroll down and click "create another app..." or "create an app..."
Fill in the following details:
name: WSB Analyst MCP (or any name you prefer)
app type: select "script"
description: Optional description of your application
about url: Can be left blank
redirect uri: Use
http://localhost:8000(any valid URL works as we don't use OAuth)
Click "create app"
After creation, note down:
client_id: The string under the app name (appears right under "personal use script")
client_secret: The string labeled "secret"
Configuration for Claude Desktop
Open Claude Desktop's configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following configuration (adjust paths as needed):
{
"mcpServers": {
"wsb-analyst": {
"command": "uvx",
"args": [
"run",
"wsb-analyst"
],
"env": {
"REDDIT_CLIENT_ID": "your_client_id_here",
"REDDIT_CLIENT_SECRET": "your_client_secret_here"
}
}
}
}Restart Claude Desktop
Using with Claude Desktop
Once configured, you can interact with the WSB Analyst server through Claude:
Open Claude Desktop
You should see a hammer icon in the bottom right corner of the message input box
Click the hammer to see available tools
Access prompt templates via slash commands (e.g.,
/analyze_wsb_market)
Example queries:
"What are the top trending stocks on WallStreetBets today?"
"Analyze recent WallStreetBets posts and tell me about potential market opportunities"
"What external resources are WSB users sharing about AMD stock?"
Available Tools
find_top_posts
Fetch and filter WSB posts based on criteria.
Parameters:
min_score(default: 100): Minimum score (upvotes) requiredmin_comments(default: 10): Minimum number of comments requiredlimit(default: 10): Maximum number of posts to returnexcluded_flairs(default:["Meme", "Shitpost", "Gain", "Loss"]): List of post flairs to exclude.
fetch_post_details
Fetch detailed information about a specific WSB post including top comments.
Parameters:
post_id: Reddit post ID
fetch_batch_post_details
Fetches details for multiple posts efficiently.
fetch_detailed_wsb_posts
Fetch and filter WSB posts, then get detailed information including top comments and links for each.
get_external_links
Collects all external links from top posts.
get_trending_tickers
Identifies and returns a list of stock tickers frequently mentioned or discussed in recent top WSB posts.
Prompt Templates
/analyze_wsb_market
Provides a template prompt to guide an LLM in performing a comprehensive market analysis using the available tools (fetch_detailed_wsb_posts, get_external_links). It instructs the LLM on the structure and focus of the analysis.
/find_market_movers
Creates a prompt focused on what's moving specific stocks or the overall market. This prompt guides the LLM to use tools like find_top_posts and fetch_post_details or fetch_batch_post_details.
Integrating with Firecrawl MCP Server
For enhanced analysis capabilities, especially when dealing with external links found in WSB posts, you can integrate this server with the Firecrawl MCP Server. This allows your LLM agent to not only identify links shared on WSB but also scrape and analyze the content of those linked pages.
License
MIT
Available Tools
6 toolsfetch_batch_post_detailsC
Fetch details for multiple posts efficiently.
Args:
post_ids: List of Reddit post IDs
Returns:
Dictionary with details for all requested posts
Inputs: post_ids (required).
fetch_detailed_wsb_postsB
Fetch and filter WSB posts, then get detailed information including top comments and links for each.
Args:
min_score: Minimum score (upvotes) required
min_comments: Minimum number of comments required
limit: Maximum number of posts to return
excluded_flairs: List of post flairs to exclude. Defaults to ["Meme", "Shitpost", "Gain", "Loss"].
Returns:
A dictionary with detailed data for the filtered posts.
Inputs: min_score, min_comments, limit, excluded_flairs.
fetch_post_detailsB
Fetch detailed information about a specific WSB post including top comments. Caches results for 5 minutes.
Args:
post_id: Reddit post ID
Returns:
Detailed post data including comments and extracted links
Inputs: post_id (required).
find_top_postsB
Fetch and filter WSB posts based on criteria. Caches results for 5 minutes.
Args:
min_score: Minimum score (upvotes) required
min_comments: Minimum number of comments required
limit: Maximum number of posts to return
excluded_flairs: List of post flairs to exclude. Defaults to ["Meme", "Shitpost", "Gain", "Loss"].
Returns:
A dictionary with filtered posts data
Inputs: min_score, min_comments, limit, excluded_flairs.
get_external_linksB
Get all external links from top WSB posts.
Args:
min_score: Minimum score (upvotes) required
min_comments: Minimum number of comments required
limit: Maximum number of posts to scan
Returns:
Dictionary with all unique external links found
Inputs: min_score, min_comments, limit.
get_top_trending_tickersA
Fetch top trending stock tickers from ApeWisdom, filtered by valid NASDAQ symbols.
Args:
num_stocks: Number of top stocks to consider based on upvotes and mentions. Defaults to 20.
filter: ApeWisdom filter category (e.g., 'wallstreetbets', 'all'). Defaults to 'wallstreetbets'.
Returns:
A list of valid, trending tickers.
Inputs: num_stocks, filter.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
There is significant overlap between tools, particularly fetch_detailed_wsb_posts and find_top_posts which both fetch and filter WSB posts with identical parameters, causing confusion. Additionally, fetch_batch_post_details and fetch_post_details both retrieve post details, though one handles multiple IDs and the other a single ID, which could be consolidated into a single tool with an optional list parameter.
Tool names follow a consistent snake_case pattern with clear verb_noun structures (e.g., fetch_post_details, get_external_links), making them readable and predictable. However, the naming is not perfectly consistent as some tools use 'fetch' while others use 'get' for similar actions, which is a minor deviation.
With 6 tools, the count is reasonable for a server focused on WSB analysis, covering post fetching, filtering, link extraction, and ticker trending. It is slightly under-scoped as it could benefit from additional tools for deeper analysis or data manipulation, but the core functionality is adequately represented.
The toolset covers key aspects like fetching posts, extracting links, and getting trending tickers, but there are notable gaps. For example, there is no tool for updating or deleting data, and advanced features such as sentiment analysis or historical data tracking are missing, which limits comprehensive analysis workflows.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server exposing real-time and historical Colombo Stock Exchange (CSE) data to AI agents and LLM applications. Provides quotes and OHLCV price history, full financial statements (income, balance sheet, cash flow), pre-computed technicals (moving averages, RS ratings, volume signals), macroeconomic indicators, corporate actions, and rule-based screening across CSE stocks and sector indices, everything needed to build CSE-aware trading assistants, research tools, and market-analysis agents. This is the official MCP server of www.ceyloncharts.com
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Hosted MCP server for SEC, FRED, Polymarket, Deribit, OKX, and FMP.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.327MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.10MIT
- AlicenseNot gradedqualityBmaintenanceA server that implements the Model Context Protocol for Schwab API, allowing access to account information, positions, stock quotes, and order/transaction history designed for integration with Large Language Models.69MIT
- FlicenseBqualityFmaintenanceA 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.5-
Appeared in Searches
- A tool for analyzing Indian stock data for investment decisions using LLMs and news insights
- Major Historical and Contemporary Events in Hong Kong
- A search for information on 'Deep Insight'
- A guide to Business Intelligence, Passive Income, and Algorithm Interpreters for Self-Learning and Side-Hustles
- Information about 雪球 (Xueqiu or Snowball)