Stock Analysis

by flying3615

Not rated
GitHub

About

An MCP server for stock analysis, offering tools for chip distribution, pattern analysis, trend reversal detection, and market scanning.

Details

Author
flying3615
Categories
Other, AI

Setup

Install Stock Analysis in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/flying3615/claude-stock-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

This is a Model Context Protocol (MCP) server that provides stock analysis tools for Claude Desktop. The server integrates existing stock analysis features, including chip distribution analysis, pattern analysis, trend reversal detection, and market scanning capabilities.

- Stock data query: Yahoo Finance
- Company fundamental data query: Requires FMP API_KEY (https://site.financialmodelingprep.com/)

- Fully compatible with Claude Desktop's MCP interface
- Provides various stock analysis tools:

- get-stock-analysis: Analyze specific stocks
- company-fundamental: Query company fundamental data
- start-bull-bear-scan: Scan the market for bullish and bearish signals (asynchronous task)
- start-strong-signal-scan: Scan the market for strong momentum stocks (asynchronous task)
- start-hot-stock-scan: Scan the market for top trending stocks (asynchronous task)
- get-task-status: Query the status and results of asynchronous tasks
- market-performance: Today's market performance, query stocks with biggest gains/losses and highest volume

- Node.js >= 16.0.0
- npm >= 7.0.0
- Claude Desktop

git clone https://github.com/yourusername/claude-stock-mcp.git cd claude-stock-mcp

-

Create or edit the Claude Desktop configuration file:

# macOS open -a "TextEdit" ~/Library/Application\ Support/Claude/claude_desktop_config.json
{ "mcpServers": { "stock-analysis": { "command": "npx", "args": [ "@gabriel3615/claude-stock-analysis-mcp@latest" ], "env": { "FMP_API_KEY": "KEY_HERE", "APLPVANTAGE_API_KEY": "KEY_HERE" } } } }

Note: You must use absolute paths and replace "yourusername" with your actual username.

Save the configuration file and restart Claude Desktop.

Once the server is configured, you can access the stock analysis features in Claude Desktop using the following approaches:

- "Please analyze Apple's stock performance"
- "I want to understand the trading signals for Tesla stock (TSLA)"
- "Help me analyze entry points and stop-loss levels for NVDA"

Claude will use theget-stock-analysistool to analyze specific stocks.

Using Asynchronous Market Scanning Features

- "Please scan the market for bullish signal stocks currently at support levels"
- "Help me find the strongest momentum stocks in the market"
- "Scan and list recent hot stocks"

Claude will use the appropriate asynchronous task tools, such asstart-bull-bear-scan, and return a task ID. You can use this ID to query task status and results.
- Start an asynchronous scan task and get a task ID
- Useget-task-statusto check the task status
- When the task is complete, retrieve the analysis results

This asynchronous approach can handle complex market analyses that run for an extended period, avoiding request timeout issues.

fastmcp provides two convenient ways to test:

These commands will start the respective test environments, allowing you to interact directly with the MCP server without requiring Claude Desktop.

claude-stock-mcp/ ├── src/ │ ├── index.ts # MCP server main file │ ├── analysis/ # Stock analysis related code │ │ ├── IntegratedAnalysis.ts │ │ ├── IntegratedAnalysisTypes.ts │ │ ├── chip/ # Chip distribution analysis │ │ ├── patterns/ # Pattern analysis │ │ └── trendReversal/ # Trend reversal analysis │ ├── finance/ # Financial data related │ │ ├── Conditions.ts │ │ ├── Evaluator.ts │ │ ├── FMPQuery.ts # Financial Modeling Prep API query │ │ ├── MarketQuery.ts # Market data query │ │ └── __tests__/ # Test files │ ├── strategy/ # Strategy analysis │ │ ├── BreakoutDetector.ts │ │ ├── BullOrBearDetector.ts │ │ └── StrategyAnalysisAgent.ts │ ├── types.ts # Type definitions │ ├── config.ts # Configuration file │ └── util/ # Utility functions │ ├── TaskManager.ts # Asynchronous task management │ ├── Logger.ts # Log handling │ └── util.ts # Common utility functions ├── dist/ # Compiled output ├── logs/ # Log file directory ├── package.json └── tsconfig.json

To avoid console output interfering with Claude Desktop, the project uses a custom logging system:

- All console outputs are redirected to log files
- Log files are located in thelogs/directory
- Silent mode is enabled in the Claude Desktop environment, preventing all console output

An MCP server for AI video generation. MCP server for AI video generation. Lets Claude, ChatGPT, OpenClaw , Hermes & other agents create AI videos and publish them to YouTube, TikTok, Instagram etc..

HumanDesign.ai MCP is the official account-connected Human Design server for Claude, ChatGPT, Codex, Cursor, and VS Code.

A Model Context Protocol (MCP) server written in Go that wraps the APsystems OpenAPI, giving AI assistants like Claude direct access to your solar monitoring data. Includes an optional web dashboard for visual monitoring.

MCP server for interacting with the APVISO AI-powered penetration testing platform from Claude Code, Cursor, Windsurf, Codex, and other MCP-compatible tools.

AI-powered text-to-speech MCP server with instant voice cloning. Generate speech from Claude Desktop, Claude Code, or n8n using 5 built-in voices (English, German, French, Spanish) or clone any voice from a short audio sample. Runs fully local, no API keys, no cloud. Supports stdio, SSE, and HTTP transports.

Chess.com player, game, and daily-puzzle tools where each tool ships its own interactive React view — board replays and a playable puzzle widget, not just text. Built with Skybridge for ChatGPT & Claude.

Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, and Hermes Agent — fewer tokens, fewer tool calls, 100% local

Live crypto technical analysis MCP server — EMA, RSI, MACD, ATR, Bollinger Bands, TSS scoring, and Claude AI bull/bear debate via CoinGecko free API

A high-performance trading system for Claude Desktop, providing real-time market data via Tiingo and optional Telegram alerts.

Ask Power BI in plain English, from Claude — charts + full ETL context.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.