ChainFolioAI
Read-only crypto and traditional portfolio: holdings, PNL, FIFO tax figures and market data.
Is this yours? Claim it freeA few minutes with a DNS record or a file. Then edit it, get uptime emails, a README badge and paid calls.
Add to your AI
Remote MCP server (streamable HTTP). Most clients sign you in with the provider on first use.
Claude Code
claude mcp add --transport http chainfolioai https://chainfolioai.com/api/mcp
Claude Desktop, Cursor, Windsurf (mcp config)
{
"mcpServers": {
"chainfolioai": {
"url": "https://chainfolioai.com/api/mcp"
}
}
}
ChatGPT: Settings → Connectors → add a custom connector with the URL above.
How to call ChainFolioAI from code (MCP)
Remote MCP over streamable HTTP with the official SDKs: initialize, list its tools, then call_tool / callTool.
Python
# pip install mcp
import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async def main():
async with streamablehttp_client("https://chainfolioai.com/api/mcp") as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
print([t.name for t in tools.tools])
asyncio.run(main())TypeScript
// npm i @modelcontextprotocol/sdk
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(new StreamableHTTPClientTransport(new URL("https://chainfolioai.com/api/mcp")));
console.log((await client.listTools()).tools.map((t) => t.name));Call it with the Rooms SDK
Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs
// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "chainfolioai" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="chainfolioai")Track record
- Uptime
- 100% uptime over the last 26 checked days (one unpaid request a day)
- Calls via Rooms (30 days)
- 0
No calls through Rooms in the last 30 days yet. Rooms only counts what it brokers, hosts or checks; nothing is estimated.
Tools (23)
- get_portfolioReturns the user's latest portfolio snapshot: balances per network (ETH, SOL, BTC, ADA), exchanges (CEX), DeFi and manual assets.
- get_walletsReturns the wallets of each portfolio, with addresses as pseudonyms (wallet_…), never in clear.
- get_pnlThe user's portfolio performance in euros: current total and change over 24 h, 7 days, 30 days and since the start, from the saved snapshots.
- get_realized_gainsThe user's realised capital gains using FIFO, in euros, with fees and gas deducted: total, per asset and per year. Not a tax return.
- get_metricsAdvanced portfolio metrics from the saved history: ROI, CAGR, Sharpe, Sortino, Calmar, volatility, maximum and current drawdown, win rate and 95% VaR.
- get_tradesTransactions recorded by the user (buys, sells and fees), in euros, newest first. Optional filters by asset and year.
- get_tax_estimateESTIMATE of capital-gains tax in a country, in that country's currency: the country's cost method (FIFO, average cost, LIFO, UK pooling, annual sum), each trade converted at the ECB rate of its date, the rules of the year of sale, holding…
- list_tax_countriesCrypto tax regimes published by ChainFolioAI: short- and long-term rate, holding period, annual allowance and legal reference, per country.
- get_global_marketGlobal crypto market state: total market cap, 24 h change and Bitcoin and Ethereum dominance.
- get_derivativesDerivatives data for a symbol on OKX: open interest, long/short ratio, funding, CVD, taker volume, 1 h candles, put/call and a composite sentiment score (0–100).
- get_price_onClosing price in US dollars of a crypto asset on a date (UTC), from OKX daily candles. Useful to value a past buy or sale.
- get_defi_positionsThe user's lending positions read from the contracts (Aave V3, Spark, Compound V3, Morpho, EigenLayer) on Ethereum, Arbitrum, Base, Optimism and Polygon: supplied, borrowed and net, with health factor. It queries the blockchain, so it take…
- get_nftsNFTs in the user's EVM wallets on one network. They are not included in the portfolio total (no reliable price).
- get_portfolio_scoreThe user's portfolio score (0–100), as shown in the app: diversification, crypto/traditional mix, stablecoin reserve, performance and risk management. A reading aid, not a recommendation to buy or sell.
- get_whale_activityScans the given addresses and returns recent on-chain movements (large transfers, accumulation). Supports ETH, BTC and SOL.
- get_marketReturns the top crypto assets by market cap (price, market cap, volume, 24h and 7d change).
- list_known_whalesLists the preloaded known whales (exchanges, funds, public figures, governments) with address and chain. Use the addresses as input to get_whale_activity.
- get_fear_greedCrypto market Fear & Greed index (current value 0–100, classification and recent history).
- get_assetPrice, market cap, volume and change (24h/7d) of a crypto asset by symbol (e.g. btc, eth, sol).
- get_fireCalculates the years to financial independence (4% rule) from expenses, savings, return and age.
- get_newsLatest crypto news (CoinDesk, CoinTelegraph): title, source, link and date.
- get_btc_blocksRecent Bitcoin blocks (height, number of transactions, median fee, pool) and recommended mempool fees.
- ask_aiAsk the AI assistant, in natural language, about your real portfolio (analysis, context, risks). It never gives buy or sell orders. Daily limit per account.
Automated check: 80/100
Last run 2026-11-27 09:07 UTC. What we measured, not a guarantee.
- 10/10Every URL is https.
- 40/40MCP initialize answered (ChainFolioAI 1.0.0).
- 15/1523 tools listed by tools/list.
- 0/10No MCP server card at /.well-known/mcp/server-card.json.
- 10/10Has a homepage or documentation link.
- 5/5Answered in 172 ms.
- 0/10Not claimed with a domain proof yet.