Model Context Protocol server for Sentimatix - Indian Stock Market Sentiment Intelligence
Project description
Sentimatix MCP Server
Real-time Indian stock market intelligence via the Model Context Protocol (MCP). Plug Sentimatix directly into Claude Desktop, Cursor, or any MCP-compatible AI agent to get live NSE/BSE sentiment, news, and technical analysis.
๐๏ธ Architecture
User Query โ Claude/AI Agent โ MCP Server โ Tools
โ
โโโโโโโโโโโโโโโโโโโโโโโ
โ News Sentiment API โ โ Sentimatix /api/v1/news
โ Stock Price API โ โ Sentimatix /api/v1/stocks
โ Sector Sentiment โ โ Sentimatix /api/v1/sentiment
โ RAG Evidence โ โ Supabase Vector DB
โโโโโโโโโโโโโโโโโโโโโโโ
โ
Synthesized Market Intelligence
๐ ๏ธ Available Tools (10 total)
| Tool | Description | Example |
|---|---|---|
explain_price_change |
Orchestrator โ explains why a stock moved using price, news + sentiment | (RELIANCE, 7 days) |
analyze_stock_enhanced |
Deep single-stock research report | (HDFCBANK, detailed) |
compare_stocks |
Side-by-side comparison of two NSE stocks | (TCS vs INFY) |
get_stock_summary |
Price metrics: change%, high, low, volume | (TATAMOTORS, 7 days) |
get_historical_prices |
Daily OHLCV time-series data | (SBIN, 2024-01-01, 2024-03-01) |
get_news_sentiment |
News articles with NLP sentiment scores | (ZOMATO, last 7 days) |
get_sentiment_aggregate |
Aggregated sentiment stats for a period | (ADANIENT, 30 days) |
get_technical_analysis |
RSI, MACD, Bollinger Bands, support/resistance | (ITC, 90 days) |
calculate_correlation |
Pearson correlation between two NSE stocks | (RELIANCE, TCS) |
get_rag_evidence |
Semantic search over the news corpus | (INFY, "earnings beat") |
๐ Quick Start (Claude Desktop)
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"sentimatix": {
"command": "python",
"args": ["path/to/apps/mcp/mcp_stdio.py"],
"env": {
"BACKEND_API_URL": "https://sentimatix-production.up.railway.app/api"
}
}
}
}
No API key is required for the default free tier.
๐ Example Query Flow
User: "Why did Reliance drop in the last 7 days?"
MCP Workflow:
- โ
get_stock_summary("RELIANCE", 7)โ-3.1% decline - โ
get_news_sentiment("RELIANCE", ...)โ12 news items, avg sentiment: -0.4 - โ
get_rag_evidence("RELIANCE", "price drop reasons")โ5 relevant articles - โ
get_technical_analysis("RELIANCE")โRSI: 38 (Oversold), MACD: Bearish - ๐ค LLM Synthesis:
RELIANCE declined 3.1% (โน2,850 โ โน2,762) over the last 7 days.
Top Reasons (with evidence):
1. Weak Q4 refining margins โ reported by Economic Times (sentiment: -0.5)
2. Sector-wide FII selling in Oil & Gas โ MoneyControl (sentiment: -0.3)
3. RSI at 38 confirms oversold territory; key support at โน2,740
Confidence: HIGH
๐ง Environment Variables
BACKEND_API_URL=https://sentimatix-production.up.railway.app/api
SUPABASE_URL=https://your-project.supabase.co # For RAG features
SUPABASE_KEY=your_anon_key # For RAG features
OPENAI_API_KEY=your_openai_key # For AI synthesis
๐ Full Documentation
- Connection Guide โ Claude Desktop, Cursor setup
- Quick Start โ Step-by-step installation
- REST API Docs โ Full OpenAPI reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sentimatix_mcp-1.0.0.tar.gz.
File metadata
- Download URL: sentimatix_mcp-1.0.0.tar.gz
- Upload date:
- Size: 56.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c8569c1bffa78da38dc03c1931b055a8d199390dd333eb0dd93edd827b8208d
|
|
| MD5 |
99aa6def799395b05294bcbf8f6f87fe
|
|
| BLAKE2b-256 |
77912a1a77f31720cd48def970fa4473d1395ececb77b491e1668ba01e36c2df
|
File details
Details for the file sentimatix_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sentimatix_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 64.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66e9318b488981a8182652305c346d5d1315e9ff1c96cbd43383dd0ccc0fa7b5
|
|
| MD5 |
0abe5b6ab928d87348daf222ed24090e
|
|
| BLAKE2b-256 |
fcbc6ae659891aaac3c6ed7371765b43b3f64056b3cb9fec0c55d1d0f04df2d2
|