StockSense MCP Server
@danula-rathnayaka
A real-time stock market insights platform powered by an MCP server that aggregates news, sentiment, trends, and research from multiple sources using scraping tools and LLMs helping investors make informed, actionable decisions with a comprehensive view of stock performance and m
Overview
What is StockSense MCP Server?
StockSense MCP Server is a modular, tool-based microservice built on the Model Context Protocol. It provides financial and stock-related services including stock data retrieval, sentiment analysis, news analysis, and market trend tracking to support financial decision-making.
How to use StockSense MCP Server?
StockSense exposes several tools registered with the MCP server, each accessible via specific function calls. Tools are invoked with parameters such as stock symbol, time period, or text. No installation or configuration steps are documented; usage focuses on calling the provided tool functions.
Key features of StockSense MCP Server
- Fetches news for a given stock symbol via DuckDuckGo
- Retrieves historical stock data using yfinance
- Analyzes sentiment of financial text via Ollama LLM
- Tracks market trends with DuckDuckGo and LLM summarization
- Provides financial advice based on stock data and news
Use cases of StockSense MCP Server
- Get the latest news and sentiment for a specific stock symbol
- Analyze historical stock performance over custom date ranges
- Assess sentiment of market-related text before trading decisions
- Monitor evolving market trends for a stock symbol
- Obtain consolidated financial advice from data, news, and sentiment
FAQ from StockSense MCP Server
What data sources does StockSense use?
It uses DuckDuckGo for news and market trend searches, yfinance for stock price data, and Ollama for LLM-based sentiment analysis and trend summarization.
What is the MCP architecture used by StockSense?
MCP (Model Context Protocol) is a lightweight server framework for tool-based microservices. Each tool performs a specific function, and the server facilitates communication between them, enabling modular and independent service development.
How can I extend StockSense with new capabilities?
Additional tools can be registered with the MCP server to provide more financial or other services as needed, following the same pattern as the existing tools.
What tools are currently available in StockSense?
The tools are: get_news, get_stock_data, analyze_sentiment, track_market_trends, and financial_advisor. Each accepts specific parameters described in the README.
Does the sentiment analysis tool require external AI models?
Yes, it uses a language model (LLM) via Ollama to analyze the sentiment of financial or stock-related text.