Skip to main content

Model Context Protocol server for Sentimatix - Indian Stock Market Sentiment Intelligence

Project description

Sentimatix MCP Server

smithery badge

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:

  1. โœ… get_stock_summary("RELIANCE", 7) โ†’ -3.1% decline
  2. โœ… get_news_sentiment("RELIANCE", ...) โ†’ 12 news items, avg sentiment: -0.4
  3. โœ… get_rag_evidence("RELIANCE", "price drop reasons") โ†’ 5 relevant articles
  4. โœ… get_technical_analysis("RELIANCE") โ†’ RSI: 38 (Oversold), MACD: Bearish
  5. ๐Ÿค– 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentimatix_mcp-1.0.1.tar.gz (56.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentimatix_mcp-1.0.1-py3-none-any.whl (64.3 kB view details)

Uploaded Python 3

File details

Details for the file sentimatix_mcp-1.0.1.tar.gz.

File metadata

  • Download URL: sentimatix_mcp-1.0.1.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

Hashes for sentimatix_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 86a1597dd4c502a464673b09f8c4cc819ca2f23ab0d2e7c6d2a2aff8b637040a
MD5 7807a42726322c552245ad855605b9ff
BLAKE2b-256 227f989cea65734924d86d0f55be7739bbf95b1d8165ba96077411d2673cbcad

See more details on using hashes here.

File details

Details for the file sentimatix_mcp-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: sentimatix_mcp-1.0.1-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

Hashes for sentimatix_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0878e7f82fd715b954d705e6d2a0d51afe5c47fd18e342367f406d5553cc1340
MD5 3a7b091d1fd9a9b208b7be773fd88575
BLAKE2b-256 0e4315a51790007527895c3bc5bc69b1f501aefc1dc452823592d9c6d7ec502b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page