Skip to main content

quantitative analysis

Project description

PyPI version Python versions Python downloads build codecov

Quantitative analysis and pricing tools.

btcvol

Installation

pip install quantflow

Modules

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantflow-0.6.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantflow-0.6.0-py3-none-any.whl (71.6 kB view details)

Uploaded Python 3

File details

Details for the file quantflow-0.6.0.tar.gz.

File metadata

  • Download URL: quantflow-0.6.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for quantflow-0.6.0.tar.gz
Algorithm Hash digest
SHA256 5bd9ccd574c08d6dae2e7a58cdcf6b28f820ceb7a1615a7301ff5c39f07538ee
MD5 78f0b855edcbd264a0800527c68a93e8
BLAKE2b-256 b8a6dfc23f55c4df9f1ead286cc63979542589daa10e8efdd28f5a70b4165812

See more details on using hashes here.

File details

Details for the file quantflow-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: quantflow-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 71.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for quantflow-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 917788d78a9866d6c416e203e5d0e3d9c4e3e253a8d08adb581dbdc24a17f9d8
MD5 bb1bbc19b9088fb2f957018d31c2fc7c
BLAKE2b-256 d700c647fc5329d32c1eee74e328bea891b94ebf48cf95fd56405b022e2fa70e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page