MCP.Market

AllocContext MCP server

by AllocContext·io.github.AllocContext/alloc-context·v0.3.0

Self-host MCP: portfolio crypto context for agents. PyPI stdio; MIT.

A86/100grade A
What users say
No reviews yet
Be the first
Safety scan
A86/100

full report

Adoption
Growing

0 stars111 downloads/wk

Reviews

Write one

Nobody has reviewed AllocContext yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

AllocContext tools (9)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • check_allocation_band
  • check_allocation_bands
  • get_context_at
  • get_context_bundle
  • get_context_delta
  • get_expectation_review
  • get_market_context
  • get_portfolio_state
  • get_rebalance_plan

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan111 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 78 days ago12/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 86/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How AllocContext compares

Against every graded Finance MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
86/100
higher than 82% of 1,761 Finance servers
Tools
9
the typical Finance server has 8
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
111
more than 71% of 421 Finance servers with a package

What its tools let an agent do: 9 read

Install AllocContext in Claude Code, Cursor or VS Code

claude mcp add alloc-context -- uvx alloc-context
Add to Cursor

What the publisher says

From the AllocContext repository's README, as published. We do not edit it. Read it on GitHub

AllocContext

mcp-name: io.github.AllocContext/alloc-context

Portfolio-aware crypto context for whatever you hold — discover your holdings, holdings-scoped market data, sentiment, macro, and regime; optional allocation analysis when you supply targets. Deterministic JSON over MCP.

New here? Cursor MCP setup — stdio in your editor, or self-hosting with local ingest. Organization: AllocContext on GitHub.

Privacy: nothing stored · one-time read-only · pass-through only when

using live portfolio reads. See USE.md.

Quick start (Cursor, self-host)

1. Install

pip install "alloc-context[mcp]"
# From source: pip install -e ".[mcp]"

2. Config and secrets

Copy config/config.example.yaml to config/config.yaml. Copy .env.example to .env and add read-only exchange keys when you want portfolio ingest or macro feeds. See self-hosting.md.

3. MCP config

Add to your global ~/.cursor/mcp.json:

{
  "mcpServers": {
    "alloc-context": {
      "command": "alloc-context",
      "args": [
        "--config",
        "/absolute/path/to/alloc-context/config/config.yaml",
        "mcp"
      ],
      "env": {
        "ALLOC_CONTEXT_DB": "/absolute/path/to/alloc-context/state/alloccontext.db"
      }
    }
  }
}

Use absolute paths. See cursor-mcp.example.json.

4. Refresh facts (optional)

python -m alloccontext --config config/config.yaml ingest

Run before a session or when you want fresh macro/regime data. No cron required.

5. Ask your agent

Call getcontextbundle for a full snapshot. Pure math tools (checkallocationband, getrebalanceplan) work without portfolio credentials.

Full setup: cursor-mcp.md. Samples: examples.md.

Not financial advice.

MCP tools

Market context is holdings-scoped: band assets (BTC/ETH) use OHLC bars; alt holdings (e.g. HYPE) use quote snapshots when cached. See context-bundle.md#market-coverage.

See mcp.md for arguments and resources.

Self-host and development

Run ingest and MCP on your machine — the primary supported path.

See self-hosting.md, local-dev.md (./scripts/dev-up.sh), or docker-self-host.md.

git clone git@github.com:AllocContext/alloc-context.git
cd alloc-context
python3.11 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev,mcp]"
cp .env.example .env
cp config/config.example.yaml config/config.yaml

python -m alloccontext ingest --dry-run
python -m alloccontext rollup --scope daily --stdout
pytest

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

AllocContext: common questions

Is AllocContext MCP server safe?
Yes, by our scan: it is graded A (86/100). Read the AllocContext safety report
How do I install AllocContext?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does AllocContext need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is AllocContext maintained?
The last commit was 117 days ago (2026-07-10). The latest release is v0.3.0.
What can I use instead of AllocContext?
Servers from other publishers that do the same job: PayRam MCP server, BankMCP™ MCP server and Blockrun MCP server.
How does AllocContext compare with other Finance MCP servers?
safety score 86/100 (higher than 82% of 1,761 Finance servers); tools 9 (the typical Finance server has 8); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to AllocContext

Same job from other publishers: the closest match first, then the best rated.

  • PayRam
    Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.
    B
  • BankMCP™
    Read-only MCP server for your own bank accounts via Enable Banking. Self-hosted, one user.
    A
  • Blockrun
    Web search, deep research, prediction markets & crypto data for AI agents. Pay per call via x402.
    B
  • Yolfi Payments MCP
    Let AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.
    A
  • AlgoVault — Crypto Quant Trade Calls
    The Brain Layer for AI Trading Agents — quant calls + cross-venue arb across perp venues via MCP.
    A