SEC XBRL Ratio Engine
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SEC XBRL Ratio EngineWhat are AAPL's trailing twelve month financial ratios at $232.50?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SEC XBRL Ratio Engine - FastMCP Server
An Model Context Protocol (MCP) server enabling AI agents (Claude Desktop, Cursor, LangChain) to query audited, real-time SEC EDGAR XBRL financial ratios. Powered by the x402 protocol on Base Mainnet for autonomous micro-settlements.
Features
9 TTM & MRQ Financial Ratios: Calculates P/E, P/OCF, P/FCF, P/B, EV/EBITDA, ROIC %, Debt/Equity, Current Ratio, and Interest Coverage.
SEC EDGAR Audit Trails: Includes accession numbers and filing dates for underlying US-GAAP XBRL tags.
x402 On-Chain Settlement: Automatic $0.003 USDC micropayment authorization via Base Mainnet (
eip155:8453) using Coinbase CDP.
Related MCP server: kerdos-x402-mcp
Available Tools
get_sec_financial_ratios
Fetches and calculates TTM financial ratios for a given stock ticker and price.
Arguments:
ticker(string, required): Stock ticker symbol (e.g.,NVDA,AAPL,MSFT).price(float, required): Current real-time stock price in USD (e.g.,120.50).
Local Setup
Clone the repository:
git clone [https://github.com/mtbandy/sec-ratio-mcp.git](https://github.com/mtbandy/sec-ratio-mcp.git) cd sec-ratio-mcpInstall dependencies:
pip install -r requirements.txtConfigure environment variables: Create a
.envfile in the root directory:# Live x402 On-Chain Transactions (Requires ~0.003 USDC on Base) PAYMENT_PRIVATE_KEY=0x_your_evm_private_keyRun in FastMCP Inspector:
fastmcp dev mcp_server.py
Registry Integration
Integrate directly into Smithery.ai, Claude Desktop, or Cursor by registering this repository URL:
[https://github.com/mtbandy/sec-ratio-mcp](https://github.com/mtbandy/sec-ratio-mcp)This server cannot be deployed
Maintenance
Related MCP Connectors
Pay-per-call crypto market intelligence for AI agents. USDC on Base via x402.
Market data and web intelligence for AI agents, paid per call in USDC on Base via x402.
Market and on-chain crypto data for AI agents. Pay per call in USDC on Base (x402).
Pay-per-call data APIs for AI agents. USDC on Base via x402. 33 tools, no signup.
Related MCP Servers
- FlicenseAqualityDmaintenancePay-per-call tools for AI agents including trust checks, due diligence, market data, and human-verified approvals, settled in USDC on Base via the x402 protocol.16-
- AlicenseNot gradedqualityDmaintenanceExposes Kerdos Market Intelligence APIs as tools for AI trading agents, with pay-per-call in USDC via the x402 protocol—no API keys or subscriptions required.20 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides US stock market data for AI agents, including intraday and daily bars, SEC fundamentals, filings, and insider data, with pay-per-query via USDC on Base.1MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to use pay-per-use web scraping, Base blockchain analytics, and PDF text extraction tools, monetized via x402 USDC micropayments.-