InvestSights Indian Stock Research MCP

InvestSights Indian Stock Research MCP

Enables AI assistants to perform deep Indian stock research with fundamentals, forensic scores, DCF valuation, screening, and news for 6000+ NSE/BSE stocks.

Category
访问服务器

README

InvestSights — Indian Stock Research MCP Server

The Model Context Protocol server for deep Indian stock research — fundamentals, forensic accounting scores, DCF valuation, screening, prices, technicals and news for 6,000+ NSE & BSE stocks, from Claude, ChatGPT, Perplexity, Cursor & any AI assistant.

npm version npm downloads MIT License MCP compatible

Documentation • Quick Start • Tools • Example Prompts • npm


What is this?

InvestSights MCP is a Model Context Protocol server that connects AI assistants to research-grade Indian stock market data — the same engine that powers investsights.in.

Where most market servers stop at quotes and screens, InvestSights adds a research layer: forensic accounting scores (Piotroski F, Beneish M, Altman Z — with bank-aware CAMELS handling), multi-stage DCF + relative valuation, analyst consensus, shareholding patterns and curated news — for 6,000+ NSE/BSE companies.

Compatible with: Claude.ai, Claude Desktop, Claude Code, ChatGPT, Perplexity, Cursor, Windsurf, VS Code (Copilot), Kiro, Zed, Codex, Gemini, Grok, OpenCode, and any MCP-compatible client.

Quick Start

Option 1: Remote MCP with OAuth (claude.ai, ChatGPT, Perplexity, Grok)

Add this URL as a custom connector in your AI chat app:

https://investsights.in/api/v2/mcp-public/mcp

First use opens a browser — sign in with your InvestSights account (Google login) and approve access on the consent screen. No token needed.

Option 2: Remote MCP with Token (Claude Code, VS Code, Kiro, Zed)

For code editors that support URL-based MCP servers with custom headers:

  1. Get a free key at investsights.in/account/connected-apps
  2. Add to your MCP config:
{
  "mcpServers": {
    "investsights": {
      "type": "url",
      "url": "https://investsights.in/api/v2/mcp-public/mcp",
      "headers": {
        "Authorization": "Bearer usk_YOUR_KEY_HERE"
      }
    }
  }
}

URL-only client (no header support)? Use the key-in-URL form: https://investsights.in/api/v2/mcp-public/usk_YOUR_KEY_HERE/mcp

Option 3: Local MCP via npm (Cursor, Windsurf, Claude Desktop, Codex, Gemini CLI)

For stdio-based MCP clients. No cloning or building — runs via npx:

  1. Get a free key at investsights.in/account/connected-apps
  2. Add to your MCP config:
{
  "mcpServers": {
    "investsights": {
      "command": "npx",
      "args": ["-y", "investsights-mcp"],
      "env": {
        "INVESTSIGHTS_TOKEN": "usk_YOUR_KEY_HERE"
      }
    }
  }
}

Node.js 18+ required for the local option. Run node --version to check.

How It Works

┌─────────────────┐   stdio (JSON-RPC)   ┌───────────────────┐     HTTPS     ┌─────────────────────┐
│  AI Assistant   │ ◄──────────────────► │  investsights-mcp │ ◄───────────► │   investsights.in   │
│  (Claude, etc.) │                      │   (npm package)   │               │  (research backend) │
└─────────────────┘                      └───────────────────┘               └─────────────────────┘

The npm package is a lightweight stdio bridge (~250 lines, zero runtime dependencies). It:

  • Reads JSON-RPC from stdin, forwards to the remote InvestSights MCP server, writes responses to stdout
  • Auto-detects framing: Content-Length (VS Code, Claude Desktop) or newline-delimited JSON (Claude Code, Kiro)
  • Authenticates every request with your personal key as a Bearer token
  • Handles SSE responses from the remote server

All tools and their logic run on the remote server — the npm package is just the transport layer.

Authentication

Method How it works Best for
OAuth (Google sign-in) Browser sign-in + consent screen, revocable anytime AI chat apps (claude.ai, ChatGPT, Perplexity, Grok)
Personal key (remote) Authorization: Bearer usk_... header, or key-in-URL Code editors with URL-based MCP (VS Code, Kiro, Zed)
Personal key (local) INVESTSIGHTS_TOKEN env var via npx stdio MCP clients (Cursor, Windsurf, Claude Desktop)

Create and revoke keys anytime at investsights.in/account/connected-apps. Same free limits across every method.

Tools

A curated pack of fast, read-only research tools — your AI picks the right one automatically.

🏢 Company Research

Tool Description
get_stock_financials Fundamentals and key ratios — P/E, P/B, ROE, ROCE, D/E, margins, growth.
get_shareholding Promoter, FII, DII and public shareholding patterns over time.
get_stock_comparison Side-by-side comparison of fundamentals, valuations and technicals.

🔬 Quality & Valuation

Tool Description
get_forensic_score Forensic accounting checks — Piotroski F-Score, Beneish M-Score, Altman Z-Score. Bank-aware: financials are assessed on CAMELS instead of manufacturing models.
get_valuation Multi-stage DCF with bull/base/bear scenarios and sensitivity, plus peer-relative valuation — computed server-side, never hallucinated.
get_analyst_consensus Analyst estimates, grades and consensus.

📊 Screening

Tool Description
screen_stocks Multi-factor stock screener across fundamentals, quality and momentum.

📈 Prices & Technicals

Tool Description
get_price_history Daily OHLCV history with technical context.
get_technical_indicators RSI, moving averages (5/20/50/200) and more.

📰 Market & News

Tool Description
get_market_overview Indices, breadth and sector snapshot for the Indian market.
get_stock_news Curated, AI-summarised stock news.
get_earnings_calendar Results dates and economic events.

Enterprise: the full 40+ tool catalog — GraphRAG document intelligence, earnings-call analysis, corporate-governance graphs, superstar-investor tracking, portfolio analytics — is available with dedicated keys and custom limits. Contact connect@investsights.in.

Example Prompts

Stock Research

"Compare HDFC Bank vs ICICI Bank — profit growth, ROE, valuation and
 shareholding trends right now"

"Pull TCS fundamentals and shareholding — is FII holding rising or falling?"

Forensic Quality

"Run a forensic accounting check on Suzlon — Piotroski, Beneish, Altman.
 Any red flags?"

"Which looks financially healthier on forensic scores: Zomato or Swiggy?"

Valuation

"What does a DCF say about TCS at today's price? Show bull, base and bear
 scenarios with the key assumptions"

Screening + Technicals

"Find stocks with ROE > 18%, low debt, and RSI under 40 — oversold quality
 names"

"Screen mid-caps with improving margins and P/E below 20 — top 15"

Market Briefing

"Today's Indian market overview — index moves, strongest sector, and this
 week's earnings calendar"

Data Coverage

Category What's included
Stocks 6,000+ NSE & BSE listed companies
Fundamentals Key ratios, growth metrics, quarterly + annual context
Forensic Piotroski F, Beneish M, Altman Z — bank-aware (CAMELS)
Valuation Multi-stage FCFF DCF (scenarios + sensitivity), peer-relative valuation
Screener 163 fundamental + quality + momentum filters
Prices & technicals EOD OHLCV, RSI, MA-5/20/50/200
Ownership Promoter / FII / DII / public shareholding over time
News & events AI-summarised stock news, earnings calendar, economic events

Environment Variables

Variable Required Default Description
INVESTSIGHTS_TOKEN Yes (local) — Personal key from investsights.in/account/connected-apps
INVESTSIGHTS_MCP_URL No https://investsights.in/api/v2/mcp-public/mcp Override remote server URL
INVESTSIGHTS_DEBUG No 0 Set to 1 for debug logging to stderr

Rate Limits

Plan Per minute Per day
Free (every registered account) 10 requests 100 requests
Pro 30 requests 1,000 requests

Higher limits and the full tool catalog are available for teams and platforms — connect@investsights.in.

Troubleshooting

Problem Solution
INVESTSIGHTS_TOKEN environment variable is required Add your key to the env section of your MCP config
Authentication failed (401) Key revoked or mistyped — create a new one at investsights.in/account/connected-apps
Rate limit exceeded Wait for the window to reset, or upgrade for higher limits
Server not responding Ensure Node.js 18+ is installed (node --version)
Network errors The bridge needs to reach investsights.in

Set INVESTSIGHTS_DEBUG=1 for detailed logging to stderr.

Links

Compliance

InvestSights is an analytics platform and is not SEBI-registered as a Research Analyst or Investment Adviser. Every tool is read-only and returns data, ratios and scores — never buy/sell recommendations, target prices or personalised advice. All output is educational; consult a SEBI-registered adviser before investing. Investments in securities markets are subject to market risks.

Contributing

Issues and pull requests are welcome for the bridge itself. For bugs, include the error message and your MCP client name/version.

License

MIT — the bridge is free to use, modify and distribute. The InvestSights platform and its data services are proprietary.


Built by InvestSights — a product of SocialCoffee DigiTech Pvt Ltd

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选