Skip to main content

highlowticker-algo-mcp

A read-only MCP server that lets an AI agent (Claude Desktop, Cursor) explore the live HighLowTicker algo feed conversationally. It consumes the feed into a rolling in-memory buffer and exposes a few query tools plus the wire-protocol schema as a resource.

Read-only by design. The server subscribes to the periodic market summary for itself, but it never sends a watch list, so it can never change the feed subscription state of any other program connected to the same socket. The capability to drive subscriptions belongs to your own strategy via the highlowticker-algo-feed client, not to this shared agent lens.

Install

pip install highlowticker-algo-mcp

Requirements

  • HighLowTicker running with the algo feed enabled (Settings, Algo feed :7412).
  • Python 3.10 or newer. (The plain highlowticker-algo-feed client works on 3.9; the MCP layer needs 3.10.)

Wire-protocol reference and examples: https://highlowtick.com/algo-feed.html

Tools

  • get_market_summary() — latest market push/pull and breadth summary.
  • recent_tape(symbol=None, kind=None, n=20) — recent new-high / new-low / price-update frames.
  • top_movers(by="high", k=10) — symbols ranked by cumulative new-high or new-low count since session start.
  • hottest_recent(by="high", k=10, window_seconds=300) — symbols ranked by new-high/new-low crossings in a trailing window (default 5 min), distinct from top_movers's cumulative count. Response includes coverage_seconds so a freshly-started MCP process visibly under-reports rather than silently claiming full-window coverage it hasn't observed yet.
  • index_quotes() — last-known price/pct_change for configured index symbols (default SPY/QQQ/IWM, override via HLT_INDEX_SYMBOLS), retained even as the rolling tape buffer evicts older events.

Resources

  • schema://algo-feed — the wire-protocol JSON Schema.
  • doc://field-reference — a condensed field reference.
  • doc://python-client-quickstart — how to use the hlt_algo_feed pypi package's Python API (AlgoFeed, run(), notify_when()) to write a standalone strategy script, including a minimal runnable example.

Claude Desktop config

Add to your MCP servers config:

{
  "mcpServers": {
    "highlowticker-algo-feed": {
      "command": "hlt-algo-mcp"
    }
  }
}

Interactive testing (MCP Inspector)

mcp dev loads its target as a standalone file, which breaks the package's relative imports. Use the scripts/mcp_dev.py shim (it re-exports the installed package's FastMCP instance) and keep the editable install active with -e .:

cd highlowticker-algo-mcp
source .venv/bin/activate
pip install "mcp[cli]"
mcp dev -e . scripts/mcp_dev.py:mcp

The background feed reader starts via the server's FastMCP lifespan, so the Inspector's Tools tab returns live data (feed must be running on :7412).

Download files

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

Source Distribution

highlowticker_algo_mcp-0.2.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

highlowticker_algo_mcp-0.2.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file highlowticker_algo_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: highlowticker_algo_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for highlowticker_algo_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d5f3aa6f2287d12f9a1af755fae5c362d4ad056914bb0cc5f3b7de2df6b0f4ac
MD5 3526d22fddcb1d57d560d9f0ee3df5c4
BLAKE2b-256 eede04719ebea20afd6b0a44cae44429b80550e074cfae5cc9145ee43d26fc69

See more details on using hashes here.

File details

Details for the file highlowticker_algo_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for highlowticker_algo_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e1e7482d6b2e5c6b39643f7e661aadb90df93677521d5e45397ac5c7cf4a85b
MD5 ea48daa793eb74cc6c1101b5d89596f8
BLAKE2b-256 09fab3147d27c1f62fb4fe596aff3b9099d8ae7ba6fc3646a42a0c183377299a

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 Sentry Error logging StatusPage Status page