AllocContext MCP server
io.github.AllocContext/alloc-context·v0.3.0Self-host MCP: portfolio crypto context for agents. PyPI stdio; MIT.
0 stars111 downloads/wk
Reviews
Write oneNobody 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 postsRead from the package source without running it. The installed server may list more.
check_allocation_bandcheck_allocation_bandsget_context_atget_context_bundleget_context_deltaget_expectation_reviewget_market_contextget_portfolio_stateget_rebalance_plan
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- 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
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
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 ingestRun 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
pytestShortened. 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.
PayRamInstall, configure, operate and integrate self-hosted PayRam crypto payment gateways.not reviewedGrowingB
BankMCP™Read-only MCP server for your own bank accounts via Enable Banking. Self-hosted, one user.not reviewedEstablishedA- BlockrunWeb search, deep research, prediction markets & crypto data for AI agents. Pay per call via x402.not reviewedEstablishedB
- Yolfi Payments MCPLet AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.not reviewedEstablishedA
AlgoVault — Crypto Quant Trade CallsThe Brain Layer for AI Trading Agents — quant calls + cross-venue arb across perp venues via MCP.not reviewedEstablishedA