This is an MCP server for OpenAlgo - (logic is copied from https://github.com/marketcalls/openalgo )
It has been repackaged for use as a module without necessity of cloning repos and installing python script.
Requirements:
- Local 3.12 or higher Python
- uvx installed
How to Install uvx (uv)
- Universal (Windows, Linux, Mac):
pip install uv
- Mac (with Homebrew):
brew install uv
- Prebuilt binaries:
Download from uv releases for your platform.
After installation, the uvx command will be available in your terminal.
Addition of an entry similar to below on your favorite MCP Client. The below is tested with Cline plugin on VSCode.
"openalgo": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uvx",
"args": [
"openalgo-mcp@latest",
"YOUR-OPENALGO-KEY",
"http://127.0.0.1:5000"
]
}
Divergence from upstream
This package talks to the OpenAlgo REST API (/api/v1/*) directly over httpx. It
deliberately does not depend on the openalgo Python library, so installs stay small
and work on musl/Alpine images (the library ships a Rust abi3 core with no musllinux
wheel).
Consequence: the 9 upstream research tools that compute indicators locally via
openalgo.ta (calculate_indicator, get_trend_snapshot, get_momentum_snapshot,
get_volatility_snapshot, get_support_resistance, detect_signals,
screen_instruments, multi_timeframe_analysis, correlation_beta) are not included.
They are pure local math, not REST endpoints, so they cannot be proxied. Everything that
maps to an API endpoint is covered - 40 tools.
get_historical_data matches upstream behaviour: start_date/end_date are optional,
bars (default 20) or lookback_days size the window, epoch timestamps are normalised to
ISO 8601 (IST for intraday intervals), and the response carries count/returned/
truncated metadata.
Metadata
Release files for openalgo-mcp 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| openalgo_mcp-2.1.0.tar.gz | 16.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openalgo_mcp-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / openalgo_mcp-2.1.0.tar.gz
| Download URL | openalgo_mcp-2.1.0.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa6b19a57c71afa9139a626b88992def1a8eb20c94d24aa23d6cb23e71aafaef
|
|
BLAKE2b-256 checksum How to use checksums |
f72824014d0a033f270ae48ef4d8058dcb6d8bb90c857fd008455c21b1e2dbaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / openalgo_mcp-2.1.0-py3-none-any.whl
| Download URL | openalgo_mcp-2.1.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68c68189ae3f87c41a76cb870400ce4f3c4722a148b42b68a72c62c965b12cae
|
|
BLAKE2b-256 checksum How to use checksums |
9d8b21e3f48383fb5e49cacb07077cad38b4dafb94e5e64aa86e1ad1f7a562fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Security for openalgo-mcp 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.