dev.clusteragent/cluster-mcp
Self-hostable index of AI financial agents — tokenized stocks + crypto, memory, LLM gateway.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http cluster-mcp 'https://mcp.clusteragent.dev/mcp' --header 'Authorization: <Bearer clst_... API key minted via wallet signature (see /api/keys)>'
{
"mcpServers": {
"cluster-mcp": {
"type": "http",
"url": "https://mcp.clusteragent.dev/mcp",
"headers": {
"Authorization": "<Bearer clst_... API key minted via wallet signature (see /api/keys)>"
}
}
}
}
@clusteragent/cluster-mcpclaude mcp add cluster-mcp -e 'CLUSTER_API_URL=<CLUSTER_API_URL>' -e 'CLUSTER_API_KEY=<your cluster_api_key>' -e 'CLUSTER_WALLET=<CLUSTER_WALLET>' -- npx -y @clusteragent/cluster-mcp@1.0.12
{
"mcpServers": {
"cluster-mcp": {
"command": "npx",
"args": [
"-y",
"@clusteragent/cluster-mcp@1.0.12"
],
"env": {
"CLUSTER_API_URL": "<CLUSTER_API_URL>",
"CLUSTER_API_KEY": "<your cluster_api_key>",
"CLUSTER_WALLET": "<CLUSTER_WALLET>"
}
}
}
}
متغيرات البيئة
CLUSTER_API_URLCluster backend base URL (default: https://clusteragent.dev)CLUSTER_API_KEYسري Cluster API key (clst_...) minted via wallet signature — required only for wallet-scoped toolsCLUSTER_WALLETDefault wallet address for wallet-scoped tools
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
cluster
The runtime layer for agentic finance on Robinhood Chain. Self-hostable index of AI financial agents — 192 tokenized stocks + native crypto, real Uniswap v3 swaps (non-custodial), persistent memory, and a 24-model LLM gateway.
npx @clusteragent/cluster-mcp
npx skills add clusteragent/cluster # any skills-CLI agent
pip install cluster-agent # Python SDK
Repo Layout
├── SKILL.md main installer skill (any agent)
├── index.mjs MCP server — 35 tools (@clusteragent/cluster-mcp)
├── skills/
│ ├── swap/ dedicated swap execution: safety scan → quote →
│ │ calldata → sign → receipt proof, DCA/bracket patterns
│ ├── trading/ quotes, market data, chart (4663)
│ ├── memory/ built-in memory + Hindsight backend
│ ├── finance/ portfolio, payouts, keys & metering
│ ├── crypto-intel/ wallet forensics, pool forensics, scout swarm
│ ├── research/ agent roster + OpenBB integration
│ ├── llm-gateway/ 24 models, thinking mode, credit accounting
│ ├── portfolio/ wallet valuation, DCA/TP-SL previews
│ ├── social/ X links + tip intents
│ └── monitor/ price/wallet/cycle/gas watch loops
├── python/ cluster-agent PyPI SDK
└── docs/self-hosting.md deployment guide
11 skills total — 1 installer + 10 domain sub-skills.
The cluster backend, frontend and keeper bot are not in this repo — the bot signs real treasury transactions, so the operational stack stays private. This repo is the skill/MCP platform: point it at any cluster deployment.
Quick Start
Agent users — see SKILL.md. MCP config:
{ "mcpServers": { "cluster": {
"command": "npx", "args": ["-y", "@clusteragent/cluster-mcp"],
"env": { "CLUSTER_API_URL": "https://clusteragent.dev", "CLUSTER_API_KEY": "clst_...", "CLUSTER_WALLET": "0x..." }
}}}
Self-hosters — see docs/self-hosting.md. Docker images + a deployment guide; SQLite default, zero external services except one LLM key for chat.
Python — see python/:
from cluster import Cluster
c = Cluster(api_url="https://your-host", api_key="clst_...")
c.quotes(["NVDA", "PONS"]); c.payout_basket(); c.chat("hi", thinking=True)
The Mechanism
fees in ──▶ vault ──▶ keeper bot buys the 19-name basket ──▶ $CLST holders paid pro-rata
Holding is the position. Every cycle is public: GET /api/distributions.
Integrations
| Project | Role | Guide |
|---|---|---|
| Hindsight | learning memory backend (observations, mental models) | skills/memory/ |
| OpenBB | institutional market data (fundamentals, macro) via MCP/Python | skills/research/ |
| Maybe | self-hosted personal finance UI (AGPLv3 — rename your fork) | skills/finance/ |
| OpenCatz | multi-agent scout swarm pattern on 4663 | skills/crypto-intel/ |
| Uniswap AI | skills architecture this repo follows | structure |
The Agents
Trading Relay · Pivot — Research Scout · Sifter · Quill — Analysis Argus · Prism · Census — Finance Ledger · Remit · Margin — Memory Memoria · Echo — Crypto Nexus · Vault · Oracle
Honesty by Construction
- Pre-launch payout data = honest zeros, never fabricated
- Swaps: API quotes, your wallet signs — no private keys server-side
- Keys: SHA-256 at rest, shown once
- Quote = prediction; receipt = proof (parse the Transfer logs)
License
MIT. Backend and skills are original work. The Maybe Finance fork note applies if
you self-host that integration (AGPLv3, trademark rules in skills/finance/).
الأسئلة الشائعة
ما هو dev.clusteragent/cluster-mcp؟
Self-hostable index of AI financial agents — tokenized stocks + crypto, memory, LLM gateway.
كيف أثبّت dev.clusteragent/cluster-mcp؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http cluster-mcp 'https://mcp.clusteragent.dev/mcp' --header 'Authorization: <Bearer clst_... API key minted via wallet signature (see /api/keys)>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج dev.clusteragent/cluster-mcp إلى مفتاح API؟
نعم. يتطلب CLUSTER_API_KEY, Authorization، وتضبطها في إعداداته.
هل dev.clusteragent/cluster-mcp مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون dev.clusteragent/cluster-mcp؟
ينشره clusteragent. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.