Datai MCP Server

High-performance FastMCP TypeScript server for Datai blockchain data endpoints - NPX Ready

Remote serverstreamable-httpTypeScript

What is the Datai MCP server?

Datai MCP server exists for a simple reason — assistants are far more useful when they can act on Datai directly instead of describing what you should do. High-performance FastMCP TypeScript server for Datai blockchain data endpoints - NPX Ready.

What you get

Whether you're building with Eliza OS, Cursor, or any local agent stack — simply plug in a wallet address, and the MCP server delivers clean, real-time context powered by the Datai API.

Datai is building the agentic data layer for Web3. We provide high-quality, real-time data pipelines powering agents, AI copilots, and smart protocols. The Datai MCP is one step in our journey to make wallet data accessible, actionable, and agent-ready.

  • 8 Comprehensive DeFi Tools — Complete coverage of a wallet's DeFi positions and token balance analysis
  • Multi-Chain Support — Ethereum, Arbitrum, Polygon, Avalanche, BSC, Base, Optimism, and more to come
  • Multi-Protocol Support — – Hundreds of DeFi protocols
  • Fast Setup — – Just plug in your wallet address, and the MCP delivers fresh on-chain data
  • Built for AI Devs — – Integrates with any MCP-ready agent framework (Eliza, Cursor, Claude)
  • Real-Time Data — – Powered by Datai’s API wallet data pipeline

Setting it up

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

What the assistant can call

Once Datai is connected, these are the calls the assistant has available:

  • Authentication — API key-based
  • get_all_defi_positions — Get all DeFi positions across all supported chains
  • get_defi_by_chain — Get DeFi positions for a specific blockchain
  • get_defi_multi_chains — Get DeFi positions across multiple chains
  • get_defi_by_protocol — Get DeFi positions for a specific protocol
  • get_defi_balances_by_chain — Get DeFi protocol balances by chain
  • get_overall_balance_all_c — Get overall balance across all chains
  • get_overall_balance_by_chain — Get overall balance for a specific chain
  • get_wallet_balances_by_chain — Get token balances for a specific chain
  • Prerequisites — The Prerequisites tool exposed by this server
  • Recommendations — Until summarization and modular querying are available, we recommend: - Using lightweight wallets for testing and debugging - Manually filtering or

Configuration and credentials

You will need 8 environment variables: DATAI_API_KEY, DATAI_LIMIT, DATAI_DEBUG_TRUNCATE, DATAI_CONNECTION_TIMEOUT, DATAI_RESPONSE_TIMEOUT, PORT, DEBUG, MCP_DISABLE_PINGS. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Datai.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the datai mcp server does with a few real requests.

Choosing this one

This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Datai's toolset — Authentication, get_all_defi_positions, get_defi_by_chain and 8 more — is a fair guide to whether it matches your workflow. It is maintained by Datai-Network; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Datai's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
AuthenticationAPI key-based
get_all_defi_positionsGet all DeFi positions across all supported chains
get_defi_by_chainGet DeFi positions for a specific blockchain
get_defi_multi_chainsGet DeFi positions across multiple chains
get_defi_by_protocolGet DeFi positions for a specific protocol
get_defi_balances_by_chainGet DeFi protocol balances by chain
get_overall_balance_all_cGet overall balance across all chains
get_overall_balance_by_chainGet overall balance for a specific chain
get_wallet_balances_by_chainGet token balances for a specific chain
PrerequisitesThe Prerequisites tool exposed by this server.
RecommendationsUntil summarization and modular querying are available, we recommend: - Using lightweight wallets for testing and debugging - Manually filtering or summarizing MCP responses before injecting into your agent - Keeping res

How to install the Datai MCP server

{
  "mcpServers": {
    "datai-fastmcp-server-local": {
      "command": "node",
      "args": ["/path/to/your/datai-mcp/dist/index.js"],
      "env": {
        "DATAI_API_KEY": "your_api_key_here",
        "DATAI_LIMIT": "1",
        "DATAI_DEBUG_TRUNCATE": "true",
        "DATAI_CONNECTION_TIMEOUT": "130000",
        "DATAI_RESPONSE_TIMEOUT": "90000",
        "PORT": "3099",
        "DEBUG": "true",
        "NODE_ENV": "production",
        "MCP_DISABLE_PINGS": "true"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DATAI_API_KEYCredential the server authenticates with.Yes
DATAI_LIMITConfiguration value read at startup.Optional
DATAI_DEBUG_TRUNCATEConfiguration value read at startup.Optional
DATAI_CONNECTION_TIMEOUTConfiguration value read at startup.Optional
DATAI_RESPONSE_TIMEOUTConfiguration value read at startup.Optional
PORTConfiguration value read at startup.Optional
DEBUGConfiguration value read at startup.Optional
MCP_DISABLE_PINGSConfiguration value read at startup.Optional

Example prompts to try

  • Use Datai to Authentication.
  • Use Datai to get all defi positions.
  • Use Datai to get defi by chain.

Frequently asked questions

It connects Datai to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (Authentication, get_all_defi_positions, get_defi_by_chain, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Datai directly.