Documentation

Complete guide to integrating 19 professional financial intelligence tools with your AI using MCP

Getting Started

Start using Stocksense in 3 simple steps

1. Sign Up for Free

Create a free account to get 100 free API credits - no setup required

2. Add MCP Server to Claude

Simply add our server URL to Claude’s MCP configuration - no credentials needed

3. Authorize & Start Using

Click “Connect” in Claude, authorize access, and start asking questions about stocks in natural language!

Available MCP Tools

Comprehensive financial analysis capabilities from basic data to advanced intelligence

🏦 Core Financial Data

📈 Stock Prices

Real-time and historical pricing data with volume analysis

“What’s HDFC Bank’s current price?”

📊 Financial Statements

Income, balance sheet, and cash flow statements

“Show me Reliance’s latest financials”

📉 Financial Ratios

P/E, ROE, debt ratios, and profitability metrics

“Compare TCS and Infosys P/E ratios”

🧠 Market Intelligence

📰 Market News

Real market events with AI sentiment analysis and impact scores

“Latest news on Adani Group with sentiment”

🔍 Event Analysis

AI-powered event impact scoring and market correlation

“Analyze the impact of RBI policy announcement”

🎯 Competitive Landscape

Industry positioning, market share, and competitor analysis

“How does Airtel compare to Jio in telecom?”

🏭 Industry Metrics

Sector benchmarking, growth rates, and industry analysis

“Banking sector average P/E vs HDFC Bank”

📊 Technical Analysis

⚡ Technical Indicators

40+ indicators: RSI, MACD, Bollinger Bands, SMAs, EMAs

“Is Nifty 50 overbought based on RSI?”

🔍 Stock Screening

Advanced screening with technical, fundamental, and flow filters

“Find undervalued stocks with strong technicals”

🏛️ Institutional Intelligence

👥 Institutional Holdings

FII/DII/MF flow tracking with smart money analysis

“FII activity in IT sector last quarter”

🛡️ Promoter Holdings

Promoter stake changes and pledging analysis

“Promoter pledging in Zee Entertainment”

🚨 Stock Alerts

Multi-source alerts for institutional changes and triggers

“Any alerts on Tata Motors holdings?”

Pro Tip: All tools support natural language queries. Just ask questions like you would to a financial analyst!

MCP Integration

How to connect Stocksense to your AI tools

What is MCP?

Model Context Protocol (MCP) is a standard that allows AI tools like Claude, ChatGPT, and others to securely access external data sources. With Stocksense MCP integration, you can ask questions about stocks in natural language without any coding.

How Authentication Works

When you connect Claude to Stocksense:

  • No credentials needed upfront - just add our server URL
  • Secure OAuth flow - Claude redirects you to authorize access
  • One-time approval - authorize once, use forever (until you revoke)

Integration Examples

Configure Stocksense with popular AI tools

Claude MCP Setup

Add this simple configuration to your Claude MCP settings file:

{
  "mcpServers": {
    "stocksense": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-fetch"],
      "env": {
        "STOCKSENSE_BASE_URL": "https://stocksense.in/api/mcp"
      }
    }
  }
}

When you try to use Stocksense in Claude, it will automatically:

  • • Discover the OAuth server endpoints
  • • Register as a client (if needed)
  • • Redirect you to authorize access
  • • Connect securely with your approval

Usage Examples

Once configured, you can ask your AI assistant natural language questions:

💬 “Track FII buying in HDFC Bank this quarter”
💬 “Is Reliance overbought based on RSI and MACD?”
💬 “Compare Airtel vs Jio competitive positioning”
💬 “Find undervalued banking stocks with strong technicals”
💬 “Analyze market sentiment on Adani Group news”
💬 “Promoter pledging alerts in mid-cap IT stocks”

Try It Out - API Testing

Test the MCP endpoints with your API key to explore available data (for development/testing purposes)

Click 'Test Endpoint' to see the API response here...

Current Request:

GET /api/mcp/stock-price?ticker=PERVASIVE&limit=5&offset=0

Response Format

MCP-compliant response structure

{
  "content": [
    {
      "type": "text",
      "text": "{\"ticker\":\"AAPL\",\"name\":\"Apple Inc.\",\"prices\":[...]}"
    }
  ]
}

Performance & Pricing

Enterprise capabilities at startup-friendly pricing

Transparent Pricing

Just ₹1 per 100 API calls. No subscriptions, no hidden fees. Start with 100 free calls to test everything.

Lightning Fast

Optimized data infrastructure with intelligent caching delivers sub-100ms response times for all queries.

Enterprise Scale

Robust architecture supporting everything from personal research to high-frequency institutional analysis.

Error Handling

Common error codes and their meanings

401Invalid or missing API key
402Insufficient credits
404Ticker not found
500Internal server error