华尔街赌注分析师
STDIO提供华尔街赌注实时数据分析的服务器
提供华尔街赌注实时数据分析的服务器
A Model Context Protocol (MCP) server that provides real-time WallStreetBets data for analysis with Claude or other LLM clients.
To install WSB Analyst for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ferdousbhai/wsb-analyst-mcp --client claude
Clone this repository or download the source files:
git clone https://github.com/ferdousbhai/wsb-analyst-mcp cd wsb-analyst-mcp
Create a virtual environment and install dependencies:
# Using uv (recommended) uv sync
To use this server, you need to create a Reddit application to get API credentials:
http://localhost:8000
(any valid URL works as we don't use OAuth)Open Claude Desktop's configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%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
Once configured, you can interact with the WSB Analyst server through Claude:
/analyze_wsb_market
)Example queries:
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 IDfetch_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.
/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
.
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.
MIT