ChainFolioAI MCP
Official MCP server for ChainFolioAI enabling AI agents to access crypto and traditional portfolio data. It provides read-only access to holdings, PnL, FIFO tax figures, market data, DeFi positions, and NFTs. Supports authentication via Bearer tokens and integrates with Claude and Cursor.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://chainfolioai.com/api/mcpWhat its tools do
23 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Not annotated (23)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to chainfolioai.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Retrieve portfolio snapshots and wallet balances
- Calculate realized gains and tax estimates
- Monitor DeFi positions and NFT holdings
- Query market prices and whale activity
Source and maintenance
Protocol and capabilities
- Server
- ChainFolioAI 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 23 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Tools
23 advertised
get_portfolio
Returns the user's latest portfolio snapshot: balances per network (ETH, SOL, BTC, ADA), exchanges (CEX), DeFi and manual assets.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_wallets
Returns the wallets of each portfolio, with addresses as pseudonyms (wallet_…), never in clear.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_pnl
The 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_realized_gains
The user's realised capital gains using FIFO, in euros, with fees and gas deducted: total, per asset and per year. Not a tax return.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 2009,
"description": "Calendar year of the sales (optional; without it everything is returned)."
}
}
}get_metrics
Advanced portfolio metrics from the saved history: ROI, CAGR, Sharpe, Sortino, Calmar, volatility, maximum and current drawdown, win rate and 95% VaR.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_trades
Transactions recorded by the user (buys, sells and fees), in euros, newest first. Optional filters by asset and year.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 2009,
"description": "Calendar year of the transaction."
},
"asset": {
"type": "string",
"maxLength": 20,
"description": "Asset symbol (e.g. BTC)."
},
"limit": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "Maximum number of transactions to return (default 100)."
}
}
}get_tax_estimate
ESTIMATE 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 period, annual allowance and, where the law allows, losses carried from previous years. Not a tax return. Each country's options are in list_tax_countries (options field).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country"
],
"properties": {
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 2009,
"description": "Tax year of the sales (optional). In the UK and Australia it is the year the tax year starts (2025 = 2025/26)."
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "Two-letter country code (e.g. PT, ES, US). See list_tax_countries."
},
"alternative": {
"type": "boolean",
"description": "BR, PT, AR and AT only: the alternative option for where the coins are held (BR foreign exchange; PT broker outside the EU/EEA with no tax treaty; AR sale in pesos; AT Austrian platform)."
},
"marginalRate": {
"type": "number",
"maximum": 0.6,
"minimum": 0,
"description": "Only where the rate depends on income (DE, GB, US, CA, AU, LU, MX): the person's marginal rate as a fraction (0.35 = 35%). Without it the top rate is used."
},
"marginalRateLong": {
"type": "number",
"maximum": 0.6,
"minimum": 0,
"description": "US only: the person's long-term rate as a fraction (0, 0.15 or 0.20, plus 0.038 NIIT if applicable)."
}
}
}list_tax_countries
Crypto tax regimes published by ChainFolioAI: short- and long-term rate, holding period, annual allowance and legal reference, per country.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_global_market
Global crypto market state: total market cap, 24 h change and Bitcoin and Ethereum dominance.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_derivatives
Derivatives 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).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"symbol": {
"type": "string",
"maxLength": 10,
"description": "Symbol, e.g. BTC (default) or ETH."
}
}
}get_price_on
Closing price in US dollars of a crypto asset on a date (UTC), from OKX daily candles. Useful to value a past buy or sale.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"symbol",
"date"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Data em AAAA-MM-DD (UTC)."
},
"symbol": {
"type": "string",
"maxLength": 10,
"description": "Symbol, e.g. BTC."
}
}
}get_defi_positions
The 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 takes a few seconds.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_nfts
NFTs in the user's EVM wallets on one network. They are not included in the portfolio total (no reliable price).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"chain": {
"enum": [
"eth",
"polygon",
"arbitrum",
"base",
"optimism"
],
"type": "string",
"description": "Network (default eth)."
}
}
}get_portfolio_score
The 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_whale_activity
Scans the given addresses and returns recent on-chain movements (large transfers, accumulation). Supports ETH, BTC and SOL.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"watchlist"
],
"properties": {
"watchlist": {
"type": "array",
"items": {
"type": "object",
"required": [
"address",
"chain"
],
"properties": {
"chain": {
"enum": [
"eth",
"btc",
"sol"
],
"type": "string"
},
"label": {
"type": "string",
"maxLength": 60
},
"address": {
"type": "string",
"pattern": "^(0x[a-fA-F0-9]{40}|(1|3|bc1)[a-zA-HJ-NP-Z0-9]{25,62}|[1-9A-HJ-NP-Za-km-z]{32,44})$"
}
}
},
"maxItems": 10,
"description": "Addresses to watch (max. 10)."
}
}
}get_market
Returns the top crypto assets by market cap (price, market cap, volume, 24h and 7d change).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 250,
"minimum": 1,
"description": "How many assets to return (1–250, default 50)."
}
}
}list_known_whales
Lists the preloaded known whales (exchanges, funds, public figures, governments) with address and chain. Use the addresses as input to get_whale_activity.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_fear_greed
Crypto market Fear & Greed index (current value 0–100, classification and recent history).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}get_asset
Price, market cap, volume and change (24h/7d) of a crypto asset by symbol (e.g. btc, eth, sol).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"symbol"
],
"properties": {
"symbol": {
"type": "string",
"pattern": "^[a-zA-Z0-9]{1,20}$",
"description": "Asset symbol, e.g. btc"
}
}
}get_fire
Calculates the years to financial independence (4% rule) from expenses, savings, return and age.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"monthlyExpenses",
"monthlyInvestment"
],
"properties": {
"inflation": {
"type": "number",
"maximum": 100,
"minimum": -20,
"description": "Annual inflation in % (default 3)"
},
"currentAge": {
"type": "integer",
"maximum": 120,
"minimum": 0,
"description": "Current age (default 30)"
},
"annualReturn": {
"type": "number",
"maximum": 100,
"minimum": -50,
"description": "Expected annual return in % (default 7)"
},
"monthlyExpenses": {
"type": "number",
"maximum": 10000000,
"minimum": 0,
"description": "Monthly expenses"
},
"currentPortfolio": {
"type": "number",
"maximum": 100000000000,
"minimum": 0,
"description": "Current net worth (default 0)"
},
"monthlyInvestment": {
"type": "number",
"maximum": 10000000,
"minimum": 0,
"description": "Monthly savings/investment"
}
}
}get_news
Latest crypto news (CoinDesk, CoinTelegraph): title, source, link and date.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "How many news items (default 15)"
}
}
}get_btc_blocks
Recent Bitcoin blocks (height, number of transactions, median fee, pool) and recommended mempool fees.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}ask_ai
Ask the AI assistant, in natural language, about your real portfolio (analysis, context, risks). It never gives buy or sell orders. Daily limit per account.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"question"
],
"properties": {
"question": {
"type": "string",
"maxLength": 1000,
"description": "The question about the portfolio or the market (max. 1000 characters)."
}
}
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1252 ms
- 95th percentile latency
- 1264 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1265 ms · 23 tool(s)
- · probe · passed · 1239 ms · metadata changed · 23 tool(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http chainfolioai-mcp https://chainfolioai.com/api/mcpCodex
codex mcp add chainfolioai-mcp --url https://chainfolioai.com/api/mcpCursor
{
"mcpServers": {
"chainfolioai-mcp": {
"url": "https://chainfolioai.com/api/mcp"
}
}
}Cline
{
"mcpServers": {
"chainfolioai-mcp": {
"type": "streamableHttp",
"url": "https://chainfolioai.com/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"chainfolioai-mcp": {
"type": "http",
"url": "https://chainfolioai.com/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http chainfolioai-mcp https://chainfolioai.com/api/mcpClaude Desktop
https://chainfolioai.com/api/mcpWindsurf
{
"mcpServers": {
"chainfolioai-mcp": {
"serverUrl": "https://chainfolioai.com/api/mcp"
}
}
}Let your agent find its tools
Find servers like ChainFolioAI MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run ChainFolioAI MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.