Zapper MCP

MCP金融服务

提供方 mehdi-loup

金融服务 未标注 API Key 社区 / 第三方

An MCP server that exposes the Zapper DeFi portfolio API, enabling LLMs to query wallet balances, token holdings, and DeFi positions using natural language.

一句话选型结论

按资料字段整理

Zapper MCP 属于金融服务类 MCP 服务器,传输方式未标注,API Key,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类金融服务 传输方式未标注 鉴权API Key 部署方式支持远程部署
GitHub 星标 未标注 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

金融服务
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

安装与配置

未标注 API Key
上游未给出传输方式
  1. 1
    准备运行环境

    确认你的客户端支持远程端点,并拿到服务地址。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
行情与财务数据

查行情、财报、汇率等金融数据。

支付与账务查询

查订单、账单与交易流水。

风控与核验

做身份、信用与风险信息核验。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 基础信息齐全,可以先按官方文档接入试跑。

先想清楚的地方

  • 远程端点依赖网络与服务方可用性,注意密钥与调用额度。
  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好API Key对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在金融服务场景里让模型直接调用外部能力的人。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Zapper MCP当前 未标注 未标注 支持远程部署 无 2026-05-17
Alpaca MCP 62 stdio · 本地进程 支持远程部署 有 2026-05-18
OpenNews MCP 11 stdio · 本地进程 支持远程部署 有 2026-05-17
MCP Server 273df76d 未标注 stdio · 本地进程 本地部署 有 2026-05-17
tradingview-mcp 未标注 stdio · 本地进程 本地部署 有 2026-04-19
goat (Goat SDK) 未标注 未标注 未标注 无 2026-05-17

服务器档案

金融服务
字段来自项目仓库与公开索引,中文说明由本站标注
提供方mehdi-loup上游标注的维护方 mehdi-loup
分类金融服务本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式API Key远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型支持远程部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

5.9 KB
来自项目仓库与上游目录的原文,未做删改

zapper-mcp

An MCP server that exposes the Zapper DeFi portfolio API as a thoughtfully designed tool surface for LLM clients. Connect it to Claude Desktop or any MCP-compatible host and ask natural-language questions about any wallet — "what is this wallet worth?", "does it have any Aave positions?", "show me the top holdings on Base."

Built on Day 9 of a 21-day AI engineering sprint. Day 10 wires this server into a Mastra agent.


Tool surface

The design rationale for each primitive is in DESIGN.md. The short version:

Primitive Name Why this placement
Tool get_portfolio Model-invoked, dynamic per address, returns full token + DeFi breakdown
Tool get_token_balances Focused tool for spot-token questions; avoids making the model parse a full portfolio when it only needs token holdings
Tool get_app_positions Focused tool for DeFi questions; separate from get_portfolio so the model can express precise intent and receive a focused schema
Resource zapper://supported-networks Static network list — host injects it as ambient context at prompt-assembly time so the model knows valid network names without burning a tool-call turn
Prompt analyze-wallet User-invoked workflow that pre-seeds a multi-turn portfolio analysis conversation with analyst persona, tool inventory, and wallet address

Why not one big get_everything tool? Collapsing the tools would force the model to receive and parse a large mixed-schema response for every question, even focused ones. A tool boundary is a declaration of scope — the right tool returns exactly what the reasoning step needs.

Why is the API key in server config, not a tool argument? Credentials belong in the host layer (env vars injected at process spawn), not in the MCP protocol. If api_key were a tool parameter, it would flow through the LLM's reasoning and appear in conversation history. For a multi-tenant deploy the right mechanism is transport-layer auth (Bearer token over Streamable HTTP) or per-user OAuth — both out of scope here. See Known limitations.


Requirements

  • Node.js 20+
  • pnpm
  • A Zapper API key

Install```bash

git clone https://github.com/mehdi-loup/zapper-mcp
cd zapper-mcp
pnpm install
pnpm build


---

## Configuration

Copy `.env.example` to `.env` and add your key:```bash
cp .env.example .env
# edit .env and set ZAPPER_API_KEY=your_key_here

The server fails fast at boot if ZAPPER_API_KEY is missing — you'll see the error immediately, not on the first tool call.


Run

Standalone smoke test (confirms everything works without Claude Desktop):```bash
ZAPPER_API_KEY=your_key pnpm client


Output: lists tools/resources/prompts, then calls each tool against `vitalik.eth`.

**Direct server start:**```bash
ZAPPER_API_KEY=your_key pnpm start

Claude Desktop wiring

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:```json
{
"mcpServers": {
"zapper-mcp": {
"command": "node",
"args": ["/absolute/path/to/zapper-mcp/build/server.js"],
"env": {
"ZAPPER_API_KEY": "your_key_here"
}
}
}
}


Restart Claude Desktop. The three tools, the `zapper://supported-networks` resource, and the `analyze-wallet` prompt will be available.

**Logs** (if the server fails to load):```
~/Library/Logs/Claude/mcp-server-zapper-mcp.log

Mastra integration (Day 10)

To wire this server into a Mastra agent via Mastra's MCP client:

  1. Start the server: node /path/to/build/server.js
  2. Configure the Mastra MCP client with stdio transport, server name zapper-mcp
  3. The agent consumes Zapper data exclusively through MCP — lib/zapper.ts in the agent repo becomes unused

Not all tools need to be exposed to the Mastra agent; that's a Day 10 design call.


Tool reference

get_portfolio(address, networks?)

Full portfolio breakdown: total USD, all token holdings, all DeFi positions.```
address — wallet address or ENS name
networks — optional array: ["ethereum", "base", "arbitrum", ...]


### `get_token_balances(address, networks?)`

Spot token balances only (no DeFi positions).

### `get_app_positions(address, networks?, app_slug?)`

DeFi app positions only (Aave, Uniswap, Sablier, etc.).```
app_slug  — optional filter: "aave-v3", "uniswap-v3", ...

Resource: zapper://supported-networks

JSON array of { name, chainId } for all indexed networks. Read by host at context-assembly time.

Prompt: analyze-wallet

Pre-seeds a portfolio analysis conversation. Takes an address argument.


Error handling

Every tool returns isError: true with a model-actionable message on:
- HTTP 401 / invalid API key
- HTTP 429 / rate limited
- HTTP 5xx / Zapper server error
- Network timeout (15s)
- Malformed response

An empty wallet (totalUSD: 0, tokens: []) returns isError: false — empty is not an error.


Known limitations

  • Single-key trust model: the server holds one ZAPPER_API_KEY and serves one owner. A multi-tenant deploy needs per-user OAuth or transport-layer auth (Streamable HTTP with Bearer tokens).
  • No caching: every tool call hits the Zapper API. A production server would add a short TTL cache (positions change slowly) and respect rate limits proactively.
  • No resources/subscribe: zapper://supported-networks is a static list. Live updates would require the server to advertise subscribe capability and emit notifications/resources/updated.
  • stdio transport only: Streamable HTTP transport deferred to a future iteration.
  • Pagination ceiling: tools return up to 50 tokens and 20 app positions per request.

What's next

Day 10: wire this server into the Mastra wallet agent at ../day1-wallet-agent/ via Mastra's MCP client. The agent will consume Zapper data exclusively through MCP, validating that the tool surface actually decouples the capability from the agent framework.

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
Zapper MCP 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Zapper MCP 怎么在客户端里配置?

它的传输方式未标注,在客户端 MCP 配置里按官方文档填写启动命令和参数,保存后重启客户端生效。

Zapper MCP 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Zapper MCP 需要 API Key 吗?

资料标注需要API Key认证,使用前准备好对应凭据,并按最小权限配置。

Zapper MCP 能提供哪些能力?

资料显示能力标签包括 API密钥、金融数据、数据分析。具体工具清单以官方文档为准。

Zapper MCP 需要什么运行环境?

属于远程端点,不需要在本地装运行时。

Zapper MCP 是本地还是远程?

它是远程端点,连服务地址即可。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。