๐Ÿ”Œ Finmagine MCP

Connect Claude to Indian & US stock market intelligence · 65 tools · NSE/BSE + NYSE/NASDAQ · Setup in 2 minutes

GETTING STARTED GUIDE

Following along? Open the live page

Finmagine — free to explore • premium for full access • no app needed

Open Finmagine →
← All Feature Guides Full API Docs ↗ Get API Key ↗
Published: July 19, 2026  |  5 min read  |  Developer Guide  |  Free Tier Available

What You Will Learn

Everything you need to run your first Finmagine MCP session in Claude

What is the Finmagine MCP Server?

The Model Context Protocol (MCP) is an open standard that lets AI assistants like Claude call real tools โ€” databases, APIs, live data feeds โ€” during a conversation. The Finmagine MCP server covers Indian and US stock market intelligence โ€” 41 NSE/BSE tools and 24 NYSE/NASDAQ tools in a single connector. Once connected, you can ask Claude questions like "which NSE sectors are in Stage 2 right now?", "show me HDFC Bank's management tone across the last 4 concalls", or "screen US tech stocks above SMA-200 with ECS score above 60" and Claude will call the right tools automatically.

What This Guide Covers:

  1. What 65 tools are available โ€” 41 Indian + 24 US, broken down by Free, Pro, and Max tiers
  2. Setup for claude.ai โ€” 3 steps, no code, no extensions needed
  3. Setup for Claude Desktop โ€” one config file edit
  4. Setup for Cursor and VS Code โ€” for developers building with MCP
  5. Your first prompt โ€” a ready-made prompt to paste and run immediately

Who This Is For:

  • Equity investors โ€” who want AI-driven market research without writing code
  • Developers and quant traders โ€” building AI agents on top of Indian market data
  • Analysts โ€” who want to automate morning briefings, sector rotation checks, and conviction lists
How many MCP tools does Finmagine expose?
65 tools โ€” 41 Indian tools (NSE/BSE) that map 1-to-1 with REST endpoints, plus 24 US tools (NYSE/NASDAQ) that are MCP-only with no equivalent REST endpoint. All 65 are visible in the MCP manifest at all tiers; access is enforced per-call based on your API key tier.
Do I need to write code to use Finmagine MCP?
No. On claude.ai, setup is entirely UI-based โ€” paste a URL in Settings โ†’ Connectors. Claude calls the tools automatically when you ask market questions. No code needed at all.
Which tools are available on the Free tier?
get_breakout_conditions, get_market_sectors, get_top_movers, get_circuit_stocks, get_index_constituents, get_company_profile, get_financials, get_ratios, get_momentum, get_market_breadth, get_market_momentum, search_companies โ€” limited to 25 Nifty 50 stocks for company-level tools.
What does the API key format look like?
Keys start with fmk_ followed by 32 hex characters. Example: fmk_a1b2c3d4e5f6... Generate yours in the Finmagine developer portal at finmagine.com/developer.
What makes Finmagine MCP different from just asking Claude about stocks?
Without MCP, Claude's knowledge is frozen at its training cutoff and covers Indian stocks only superficially. With the Finmagine connector, Claude pulls live NSE/BSE data โ€” today's RS ratings, this quarter's ECS scores, actual concall transcripts, real insider trades โ€” and analyses them in real time.
What is the MCP endpoint URL?
https://finmagine.com/api/mcp.php โ€” append ?apiKey=fmk_YOUR_KEY as a query parameter when setting up on claude.ai. For Claude Desktop, the key goes in the args array in the JSON config.
What is the ECS tool and why is it unique?
get_ecs_score returns the Earnings Catalyst Score โ€” a composite post-earnings quality metric covering Net Profit growth (YoY + QoQ), Sales growth, EBIT growth, and CFO/PAT backing. Finmagine pre-computes this for 700+ companies per quarter; you get the result in one API call.
Can I use Finmagine MCP inside Cursor or VS Code?
Yes. Add it to .cursor/mcp.json (Cursor) or your VS Code MCP settings with the server URL and your API key in the Authorization Bearer header. This is useful for developers building stock research agents or financial dashboards.

What is the Finmagine MCP Server?

MCP (Model Context Protocol) is an open standard from Anthropic that lets AI assistants call external tools mid-conversation. When you connect the Finmagine MCP server to Claude, every time you ask a market question, Claude silently calls the right Finmagine tool, gets live data back, and incorporates it into its answer โ€” all without you writing a single line of code.

The core idea: Instead of Claude guessing from its training data what HDFC Bank's NIM was last quarter, it calls get_banking_kpis and gets the actual number from Finmagine's database. The difference between recalled knowledge and live data.

The Finmagine MCP server covers 5,000+ NSE/BSE companies and 6,400+ NYSE/NASDAQ stocks. It exposes 65 tools โ€” 41 for Indian markets spanning fundamentals, financials, momentum, sector rotation, event feeds (insider trades, order wins, bulk deals), and AI-generated concall analysis; and 24 for US markets spanning company profiles, financials, ratios, screening, conviction ranking, insider trades, SEC filings, and AI research reports.

What 65 Tools Are Available

Tools are grouped into three tiers. All 65 are visible in the MCP manifest โ€” your API key tier determines which ones you can actually call. US tools follow the same tier structure as Indian tools.

Free
50 calls/day
Core market + company tools. 25 Nifty 50 stocks + 25 S&P 500 mega-caps. Great for exploring MCP before committing.
API Pro
1,000 calls/day
Full Indian universe + US fundamentals & screening ยท event feeds ยท sector rotation ยท ECS ยท insider trades ยท concall tone.
API Max
5,000 calls/day
Everything including AI company profiles, concall decoder, AI quarterly summaries, screener, and US AI research. All 65 tools.

Free-tier tools (no payment needed)

ToolWhat it returns
get_market_breadth30 days of advances/declines, % stocks above 10/20/40-day MA, Nifty close
get_market_momentumTop NSE stocks ranked by RS rating (limited to 10 results on free tier)
get_market_sectorsPer-sector RS averages, top RS stock, market cap totals
get_breakout_conditionsNifty 50 vs EMA-21 and EMA-50 โ€” ABOVE_BOTH / ABOVE_21_ONLY / BELOW_BOTH verdict
get_top_moversDaily top gainers or losers with RS rating and volume
get_circuit_stocksStocks at upper or lower circuit limit today, ordered by RS rating
get_index_constituentsAll stocks in any NSE index โ€” Nifty 50, Nifty 500, Midcap 150, etc.
get_company_profilePE, PB, ROCE, ROE, D/E, 52W range, RS rating, EMA levels (25 stocks on free tier)
get_financialsQuarterly/annual P&L โ€” sales, EBITDA, PAT, OPM% (max 4 periods on free)
get_ratiosFCF yield, Altman Z-score, OCF/PAT, pledge %, 5-year CAGRs
get_momentumRS rating, EMA crossover signals, 52W proximity, 30-day RS history
search_companiesSearch by name/symbol, sector, MCap, RS rating

API Pro tools (the research layer)

Pro adds the intelligence that separates Finmagine from basic data APIs: event feeds, sector rotation, and AI-scored company signals.

ToolWhat it returns
get_ecs_scoreEarnings Catalyst Score + rank vs Nifty 500 universe + PEAD signal
get_sector_rrgRRG quadrant (Leading/Weakening/Lagging/Improving) for all 18 NSE sectors
get_industry_stagesWeinstein Stage 1โ€“4 for every NSE industry
get_conviction_rankingStocks appearing in 3+ screener presets simultaneously โ€” multi-factor confluence
get_ecs_leaderboardTop 25 NSE stocks by ECS for the latest quarter
get_pead_candidatesStocks with confirmed post-earnings drift in the last 45 days
get_rs_changesRS velocity โ€” stocks gaining or losing momentum points fastest
get_order_wins_feedAI-extracted order win announcements across all NSE companies (last 30 days)
get_insider_feedPromoter and director buy/sell trades across all NSE companies
get_bulk_block_dealsInstitutional bulk and block deal activity
get_management_toneGuidance score 0โ€“100, tone trajectory across quarters, phrase drift signals
get_company_scorecardPre-computed 5-dimension scorecard: financial health, growth, moat, management, valuation
get_shareholding8 quarters of promoter/FII/DII/public shareholding pattern
get_insider_tradesCompany-level insider trades with holding % change
get_order_winsCompany-level order win history with deal value and client
get_conglomerateBusiness group membership (Tata, Adani, Bajaj, etc.) with all group members

API Max tools (AI content layer)

ToolWhat it returns
screen_stocksMulti-criteria screener โ€” ROCE, PE, RS, MCap, D/E, sector filters (api_max only)
get_ai_quarterly_summaryAI-generated quarterly earnings summary โ€” headline, verdict, key insights (703 companies)
get_ai_company_profile10-section AI profile: moat, management quality, growth drivers, bull/bear case (~400 cos.)
get_concall_decoderMulti-quarter concall analysis โ€” commitment tracking, guidance vs actual, tone signals

US Market tools (NYSE/NASDAQ) โ€” 24 additional tools

The 24 us_* tools are MCP-only โ€” they have no equivalent REST endpoints. Free tier covers 25 S&P 500 mega-caps; Pro and Max unlock the full 6,400+ symbol universe.

ToolTierWhat it returns
us_search_companiesFreeSearch US stocks by name or symbol โ€” sector, market cap (USD B), scorecard score
us_get_company_profileFreePrice, market cap, 52W range, RS rating, PE, ROE, operating margin, index membership (SP500/NDX100/DOW30)
us_get_market_breadthFree% of US stocks above SMA-50 and SMA-200, by sector
us_get_sector_moversFreeTop gaining and losing US sectors for the session
us_get_breakout_conditionsFreeSPY vs SMA-50 and SMA-200 โ€” BULL_CONFIRMED / ABOVE_SMA50_ONLY / BEAR_CONFIRMED
us_get_financialsProQuarterly/annual income statement โ€” revenue, net income, EPS, FCF
us_get_ratiosProP/E, P/B, EV/EBITDA, FCF yield, gross/net margin, ROE, debt/equity
us_get_momentumProRS rating, above SMA-50/200, 52W proximity, price momentum score
us_get_company_scorecardPro5-dimension scorecard: financial health, growth, competitive position, management, valuation
us_screen_stocksProMulti-criteria screener โ€” sector, market cap, PE, ROE, above SMA-50/200, revenue growth
us_get_ecs_leaderboardProTop US stocks by Earnings Catalyst Score โ€” net profit growth, sales growth, CFO/PAT backing
us_get_insider_tradesProForm 4 insider buy/sell transactions โ€” director and officer trades
us_get_conviction_rankingProStocks appearing in 3+ screener presets โ€” multi-factor confluence ranking
us_get_order_winsProSEC 8-K contract announcements โ€” AI-extracted deal value and client
us_get_management_toneProEarnings call sentiment score, guidance tone, phrase drift signals
us_get_quarterly_summaryProAI-generated quarterly earnings brief โ€” headline verdict and key insights
us_get_index_constituentsProAll members of SP500, NDX100, or DOW30 with live fundamentals
us_get_sec_feedProRecent SEC 8-K filings โ€” earnings, M&A, material events across all coverage
us_get_ai_company_profileMax10-section AI research report: moat, growth drivers, risks, bull/bear case
us_get_full_reportMaxComplete 9-section institutional-quality research report for any US stock
us_screen_natural_languageMaxNatural-language US screener โ€” "profitable tech stocks near 52W high, market cap over $10B"
us_get_13f_holdingsMaxSuperinvestor 13F holdings โ€” Berkshire, Pershing Square, Scion, Appaloosa, and 10 others
us_get_sec_filing_detailMaxFull text of any SEC filing by accession number
us_decode_earnings_callMaxEarnings call decoder โ€” commitment tracking, guidance vs actual, phrase drift for US stocks

Setup: 3 Ways to Connect

Option 1 โ€” claude.ai (web, no code needed)

The claude.ai web app supports custom MCP connectors natively. No extensions or local installs required.

Step 1
Get your API key
Go to finmagine.com/developer and generate a key. Free-tier keys work immediately with 25 Nifty 50 stocks + 25 S&P 500 mega-caps and 50 calls/day.
Step 2
Add the connector
In claude.ai โ†’ Settings โ†’ Connectors, click +. Name: Finmagine Market Intelligence. URL: paste your connector URL (see below). Click Add.
Step 3
Enable in a chat
Open a new conversation. Click the tools / connectors button and toggle Finmagine Market Intelligence on. Ask any market question.

Your connector URL โ€” replace fmk_YOUR_KEY with your actual key:

Connector URL https://finmagine.com/api/mcp.php?apiKey=fmk_YOUR_KEY
Important: Use the ?apiKey= query parameter format, not the Advanced settings Authorization field. Claude.ai treats the Authorization field as an OAuth client ID, not a static API key โ€” your key will be rejected if you put it there.

Option 2 โ€” Claude Desktop (macOS/Windows)

Edit your Claude Desktop config file and restart. Node.js must be installed (for npx).

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or %APPDATA%\Claude\claude_desktop_config.json on Windows.

claude_desktop_config.json {
  "mcpServers": {
    "finmagine": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://finmagine.com/api/mcp.php?apiKey=fmk_YOUR_KEY"]
    }
  }
}

mcp-remote is downloaded automatically on first run โ€” no manual install needed. The Finmagine tools will appear in Claude Desktop's tools panel after restart.

Option 3 โ€” Cursor / VS Code

Add to .cursor/mcp.json in your project root (or VS Code MCP settings):

.cursor/mcp.json {
  "servers": {
    "finmagine-markets": {
      "url": "https://finmagine.com/api/mcp.php",
      "headers": {
        "Authorization": "Bearer fmk_YOUR_KEY"
      }
    }
  }
}

Your First Prompt (Free Tier)

Once the connector is active, paste this into Claude. It exercises 8 core tools that work on the Free tier and walks through a complete market intelligence workflow โ€” breadth, momentum leaders, sector search, and a company deep dive.

Before you paste: Make sure the Finmagine connector is toggled on in the conversation's tools bar. If you don't see the toggle, the connector may not be enabled yet โ€” go back to Settings โ†’ Connectors and verify it's listed.
Free Tier โ€” Copy and paste into Claude I want a complete market intelligence briefing for the Indian stock market. Please do the following in sequence:

1. Market context
Get the last 20 days of market breadth data. Summarise the trend โ€” are we in a broad advance or a selective market? Is the % of stocks above their 40-day MA expanding or contracting?

2. Momentum leaders
Pull the top 20 momentum stocks by RS rating. Which sectors are dominating? Flag any with RS rating above 85.

3. Sector hunt
Search for companies in the "Capital Goods" sector with market cap above โ‚น5,000 Cr and RS rating above 60.

4. Deep dive
Pick the highest RS-rated stock from step 3 and simultaneously pull:
  a. Full company profile โ€” note PE, ROCE, debt/equity, and proximity to 52-week high
  b. Last 6 quarters of financials โ€” is revenue and OPM% expanding or compressing?
  c. Financial ratios โ€” flag any red flags: Altman Z-score below 1.8, pledge above 20%, or D/E above 1
  d. Momentum signals โ€” is it above its 10 and 21 EMA? Is RS improving or deteriorating over 30 days?

Finally, synthesise: given the breadth environment from step 1, would you be aggressive or selective in new positions? Which stock from step 4 looks most actionable?
What to expect: Claude will call each tool in sequence, show you the raw data from each call, and build its analysis as it goes. A complete run takes 1โ€“3 minutes. The output is a structured market brief grounded in live Finmagine data.

Rate Limits and Next Steps

Every API response includes rate limit headers so you can track usage programmatically. On the Free tier: 50 calls per day, 10 per hour. A typical MCP workflow calling 8โ€“10 tools uses 8โ€“10 calls โ€” so the free tier supports 5โ€“6 full workflows per day.

Tip: The meta.requests_remaining_today field in every response tells you how many calls you have left. For scripted agents, check this field and implement graceful back-off before you hit the limit โ€” the API returns a 429 with a clear message if you exceed either the daily or hourly cap.

Ready to go deeper?

Ready to Analyse Indian Stocks Like a Pro?

Finmagine gives you 30+ computed financial ratios, sector benchmarks, FII/DII flows, the Finmagine Score, and AI-powered analysis — all in one place.

Analyse a Stock → Create Free Account
← MCP Server Guides ← All Feature Guides
โ†‘