Python SDK for H|ψ Quantum Finance APIs.
Project description
H|ψ⟩ Quantum Finance MCP SDK
AI-powered quantitative finance tools via MCP.
Connect Claude, Codex, and AI agents directly to:
Features:
- AI Predictions
- IV Radar
- Option Pressure
- Monte Carlo Simulation
- Equity Curves
Project Overview
H|ψ⟩ Quantum Finance MCP provides AI-powered quantitative finance tools through a hosted MCP endpoint. Client applications can use MCP to request structured stock analysis, AI prediction summaries, implied-volatility context, option pressure levels, Monte Carlo simulation ranges, equity curve metrics, and report assets.
This repository contains open-source SDK skeletons and examples for connecting MCP-compatible clients to the hosted H|ψ⟩ Quantum Finance MCP service.
This repository includes:
- Python SDK skeleton in
python/client.py - TypeScript SDK skeleton in
typescript/client.ts - Client setup examples in
examples/ - Documentation for available MCP tools and prompt patterns
Hosted MCP Endpoint
H|ψ⟩ Quantum Finance provides a hosted MCP endpoint:
No self-hosting required.
Connect directly from Claude Desktop, Codex, or other MCP-compatible clients.
Quick Example
Once connected, ask:
- Analyze NVDA
- Predict IONQ
- Show IV Radar for QBTS
- Compare SOUN vs PLTR
Setup
Configure your MCP-compatible client to connect to the hosted endpoint:
Typical MCP client configuration requires:
- The hosted MCP endpoint URL
- Any required client-side authentication configured outside this repository
- A client that supports MCP tool calls
Do not place secrets directly in this repository. Use your MCP client's supported secret or environment configuration mechanism.
Quick Start
Python
from client import HpsiMcpClient
client = HpsiMcpClient(server_url="https://hpsilab.com/mcp")
analysis = client.call_tool(
"analyze_stock",
{"symbol": "NVDA"},
)
print(analysis)
TypeScript
import { HpsiMcpClient } from "./client";
const client = new HpsiMcpClient({
serverUrl: "https://hpsilab.com/mcp",
});
const analysis = await client.callTool("analyze_stock", {
symbol: "NVDA",
});
console.log(analysis);
The SDK files are skeletons. Adapt transport, authentication, retries, and response validation to your runtime and MCP client stack.
MCP Setup
An MCP client registers the hosted H|ψ⟩ endpoint under a named server entry, then exposes its tools to the assistant.
Example endpoint:
https://hpsilab.com/mcp
Use your MCP client's supported remote-server configuration. Avoid committing credentials or local secrets.
Claude Desktop Setup
Add the hosted endpoint to your Claude Desktop MCP configuration file.
Example:
{
"mcpServers": {
"hpsilab": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://hpsilab.com/mcp"
]
}
}
}
Restart Claude Desktop after changing the MCP configuration. Once connected, Claude should be able to discover the H|ψ⟩ Quantum Finance MCP tools.
See examples/claude-desktop.md for a fuller setup template.
Available Tools
Tool names may vary by deployment, but the public MCP surface is expected to include:
analyze_stock: Aggregate stock research signal and summary data.generate_stock_images: Generate stock-report chart images.generate_stock_research_report: Generate a markdown research report with chart embeds.get_ai_prediction: Retrieve an AI-powered next-day directional prediction summary.get_equity_curves: Retrieve equity curve and backtest performance metrics.get_iv_radar: Retrieve implied-volatility structure and option sentiment context.get_monte_carlo: Retrieve a short-horizon Monte Carlo simulation summary.get_option_pressure: Retrieve option-chain pressure levels such as max pain and gamma context.
These tools return research-oriented information. They are not financial advice.
Example Prompts
- "Analyze NVDA using the H|ψ⟩ Quantum Finance MCP tools and summarize the bullish and bearish factors."
- "Generate a stock research report for AAPL with charts."
- "Check IV Radar and Option Pressure for SPY."
- "Compare the Monte Carlo Simulation outlook and AI Prediction for TSLA."
- "Show the recent Equity Curves metrics for my watchlist."
Repository Scope
This repository is for open-source client examples only. It deliberately excludes:
- Proprietary algorithms
- Internal model weights or prompts
- Trading strategy implementation details
- Server-side business logic
- Secrets, credentials, or private deployment configuration
License
MIT. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hpsilab_mcp-0.1.0.tar.gz.
File metadata
- Download URL: hpsilab_mcp-0.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6c422a1b0f547bc9d802c33d3c37692c8e4c7d4133a25112733c08703610668
|
|
| MD5 |
f5ee4abfbc4bc53b319060ae28ff3b02
|
|
| BLAKE2b-256 |
a9af97c4dfb10a11c207ddec80dd728057a213870e14a21880d84d631b8daa66
|
File details
Details for the file hpsilab_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hpsilab_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a38ac1b628b29536334ce5f70a219345ad4cfd904b04c17391d99e4493919d58
|
|
| MD5 |
3074dadb5d6028c8895fa14f2c16605f
|
|
| BLAKE2b-256 |
42685130e948a5967ecf5d56560f32364055a4073811bbaad714a971b6fc6293
|