Quantflow
Quantitative finance and derivative pricing
Install / Use
/learn @quantmind/QuantflowREADME
<a href="https://quantmind.github.io/quantflow"><img src="https://raw.githubusercontent.com/quantmind/quantflow/main/docs/assets/quantflow-light.svg" width=300 /></a>
Quantitative analysis and pricing tools.
Installation
pip install quantflow
Modules
- quantflow.ai MCP server for AI clients (requires
quantflow[ai,data]) - quantflow.data data APIs (requires
quantflow[data]) - quantflow.options option pricing and calibration
- quantflow.sp stochastic process primitives
- quantflow.ta timeseries analysis tools
- quantflow.utils utilities and helpers
Optional dependencies
data— data retrieval:pip install quantflow[data]ai— MCP server for AI clients:pip install quantflow[ai,data]
MCP Server
Quantflow exposes its data tools as an MCP server, allowing AI clients such as Claude to query market data, crypto volatility surfaces, and economic indicators directly.
Install with the ai and data extras:
pip install quantflow[ai,data]
API keys
Store your API keys in ~/.quantflow/.vault:
fmp=your-fmp-key
fred=your-fred-key
Or let the AI manage them for you via the vault_add tool once connected.
Claude Code
claude mcp add quantflow -- uv run qf-mcp
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"quantflow": {
"command": "uv",
"args": ["run", "qf-mcp"]
}
}
}
Available tools
| Tool | Description |
|---|---|
| vault_keys | List stored API keys |
| vault_add | Add or update an API key |
| vault_delete | Delete an API key |
| stock_indices | List stock market indices |
| stock_search | Search companies by name or symbol |
| stock_profile | Get company profile |
| stock_prices | Get OHLC price history |
| sector_performance | Sector performance and PE ratios |
| crypto_instruments | List Deribit instruments |
| crypto_historical_volatility | Historical volatility from Deribit |
| crypto_term_structure | Volatility term structure |
| crypto_implied_volatility | Implied volatility surface |
| crypto_prices | Crypto OHLC price history |
| ascii_chart | ASCII chart for any stock or crypto symbol |
| fred_subcategories | Browse FRED categories |
| fred_series | List series in a FRED category |
| fred_data | Fetch FRED observations |
Related Skills
Hook Development
83.2kThis skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
MCP Integration
83.2kThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context Protocol", "connect external service", mentions "${CLAUDE_PLUGIN_ROOT} with MCP", or discusses MCP server types (SSE, stdio, HTTP, WebSocket). Provides comprehensive guidance for integrating Model Context Protocol servers into Claude Code plugins for external tool and service integration.
Plugin Structure
83.2kThis skill should be used when the user asks to "create a plugin", "scaffold a plugin", "understand plugin structure", "organize plugin components", "set up plugin.json", "use ${CLAUDE_PLUGIN_ROOT}", "add commands/agents/skills/hooks", "configure auto-discovery", or needs guidance on plugin directory layout, manifest configuration, component organization, file naming conventions, or Claude Code plugin architecture best practices.
Skill Development
83.2kThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
