MCP Server
Native Model Context Protocol server for AI agent integration. Connect Claude, Cursor, or any MCP-compatible client to query financial data directly.
Setup
Add the metricbay MCP server to your Claude Desktop or Cursor configuration:
claude_desktop_config.json
{
"mcpServers": {
"metricbay": {
"command": "python",
"args": ["mcp_server/server.py"],
"env": {
"METRICBAY_API_KEY": "your_api_key",
"METRICBAY_BASE_URL": "https://api.metricbay.ai/v1"
}
}
}
}Available Tools
The MCP server exposes 12 tools that AI agents can call directly:
screen_stocksScreen stocks by fundamentals, insider activity, or institutional ownershipget_company_infoLook up a company by name or tickerget_financialsGet income statements, balance sheets, cash flow, or metricsget_stock_holdersGet top institutional holders of a stockget_position_changesQuarter-over-quarter institutional position changesget_filer_holdingsGet a filer's complete 13F portfolioget_ownership_summaryInstitutional ownership summary for a tickersearch_filersSearch institutional filers by nameget_insider_tradesGet Form 4 insider transactionsget_insider_summaryInsider trading summary stats with i-ratioget_insider_quarterlyQuarterly insider trading trendsget_insider_ownership_trendInsider ownership percentage over timeExample Usage
Once connected, you can ask your AI agent natural language questions:
>Find stocks with ROE above 25% and revenue growth above 10%
>Who are the top institutional holders of NVDA?
>Show me recent insider purchases for TSLA
>Get Apple's income statement for the last 3 years
>What's the insider trading summary for MSFT over the last 90 days?