mcpField
A
algopack-access

algopack-access

github.com/moexalgoData & databases445 installsUpdated 19w ago
Repository

About algopack-access

ALGOPACK Access is a skill for helping users configure authenticated ALGOPACK market-data access and diagnose access problems. It distinguishes subscription and entitlement issues from key, host, coverage, and rate-limit errors, while keeping API keys private.

Key features

  1. 01Explain token and subscription access
  2. 02Configure REST and Python authentication
  3. 03Diagnose entitlement and coverage errors
  4. 04Identify host and rate-limit issues
  5. 05Keep API keys out of shared content

Use cases

  1. 01Set up a token for REST requests
  2. 02Configure a Python session from an environment variable
  3. 03Investigate missing data or throttling

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/moexalgo/algopack-skills --skill algopack-access

After installing, type/algopack-accessin Claude Code to confirm it loaded.

Bundled filesreferences/access-troubleshooting.md

Details

From the project README

ALGOPACK Access

Overview

Use this skill to help users get authenticated ALGOPACK access and diagnose subscription, key, entitlement, and rate-limit failures without exposing secrets.

Core Workflow

  1. Confirm whether the user is using direct REST/curl or the Python library.
  2. Explain that Data MOEX/DataShop can provide free API-token access through Стартовый / Starter, while Promo is paid/subscribed access.
  3. Tell users that entitlement, delay, and field coverage are account-plan dependent; real-time or fully up-to-date data requires a valid token and the relevant entitlement.
  4. For direct REST, show Authorization: Bearer ${APIKEY} against https://apim.moex.com/iss.
  5. For Python library workflows, store APIKEY in .env, call load_dotenv(), then set session.TOKEN from os.environ["APIKEY"].
  6. Map the symptom to missing/expired key, no product entitlement, wrong host, market/date coverage, or throttling.
  7. State product boundaries: ALGOPACK supplies market data and analytics, not order placement.

Quick Start

Direct REST:

curl -L "https://apim.moex.com/iss/datashop/algopack/eq/obstats.json?date=2025-01-10" \
  -H "Authorization: Bearer ${APIKEY}"

Python library:

python -m pip install "moexalgo[dataframe]" python-dotenv
import os
from dotenv import load_dotenv
from moexalgo import session, Market

load_dotenv()
session.TOKEN = os.environ["APIKEY"]

eq = Market("EQ")
rows = eq.obstats(date="2025-01-10")

References

Read references/access-troubleshooting.md for subscription setup, access levels, error diagnosis, rate limits, and escalation notes.

Boundary

Do not ask users to paste real API keys. Do not include real keys in code, shell history, notebooks, logs, or responses.

Comments

Markdown supported