AllocContext is an MCP server for crypto portfolio-aware context: it discovers holdings, then returns holdings-scoped market data, sentiment, macro, regime, and optional allocation analysis. It can run locally or via a hosted HTTP MCP endpoint with x402 pay-per-call on Base.
From the registry: Self-host MCP: portfolio crypto context for agents. PyPI stdio; MIT.
$ pip install "alloc-context[mcp,hosted]"$ mkdir -p ~/.config/alloc-context && cp config/user.example.yaml ~/.config/alloc-context/user.yamlPlease install the `alloc-context` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install AllocContext Python package** — Install the packaged MCP server from PyPI using the recommended extras for MCP and hosted usage. Run: `pip install "alloc-context[mcp,hosted]"`
- **Create user configuration file** — Copy the example user config to ~/.config/alloc-context/user.yaml and customize it. This config is used by the MCP server via --user-config. Portfolio discovery is optional; hosted market context requires an x402 payer configured in the user config. Run: `mkdir -p ~/.config/alloc-context && cp config/user.example.yaml ~/.config/alloc-context/user.yaml`
Canonical MCP server config (stdio transport):
- command: `alloc-context`
- args: ["mcp","--user-config","<absolute-path-to-user.yaml>"]
Note: The README documents both a local stdio MCP bridge and a hosted HTTP MCP endpoint at https://mcp.alloc-context.com/mcp. The simplest documented MCP client configuration is the stdio server using the installed alloc-context CLI. Use an absolute path for --user-config. Portfolio credentials in user.yaml are optional; pure math tools work without them. Hosted market context/payment setup is handled in the user config rather than MCP env vars.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.NoneNo required environment variables are explicitly documented in the README.Meta Ads MCP (Facebook + Instagram) - analyze performance, manage budgets, pause campaigns.