Amp MCP

Amp MCP

Provides developer-focused documentation and tools for building applications on Amp, a high-performance blockchain ETL system. Includes guides, schemas, code examples, and troubleshooting resources for querying and transforming blockchain data.

Category
访问服务器

README

Amp MCP

A Model Context Protocol (MCP) server providing developer-focused documentation for Amp - a high-performance ETL system for blockchain data. This server helps developers building applications on Amp by providing access to essential documentation, schemas, troubleshooting guides, and code examples.

What is Amp?

Amp is a high-performance ETL system that:

  • Extracts data from various blockchain sources (EVM RPC, Firehose, Beacon Chain)
  • Transforms it via SQL queries with custom User-Defined Functions (UDFs)
  • Loads it into Parquet files for efficient querying
  • Serves it through multiple query interfaces (Arrow Flight gRPC, JSON Lines HTTP)

This MCP server focuses on documentation that helps developers build applications using Amp, answer questions about Amp, and troubleshoot issues.

Installation

npm install @edgeandnode/amp-mcp

Or with pnpm:

pnpm add @edgeandnode/amp-mcp

Usage

As an MCP Server

Add to your MCP client configuration (e.g., Claude Desktop):

{
  "mcpServers": {
    "amp": {
      "command": "npx",
      "args": ["-y", "@edgeandnode/amp-mcp"]
    }
  }
}

Or if installed locally:

{
  "mcpServers": {
    "amp": {
      "command": "node",
      "args": ["/path/to/amp-mcp/dist/index.js"]
    }
  }
}

Available Resources

The server provides developer-focused documentation for building applications on Amp:

Core Documentation

  • amp-docs://amp - Main documentation index
  • amp-docs://amp-getting-started - Getting started guide (START HERE!)
  • amp-docs://amp-config - Configuration guide for developers
  • amp-docs://amp-glossary - Definitions of key terms

Developer Guides

  • amp-docs://amp-examples - Complete example applications with code
  • amp-docs://amp-querying-data - How to query blockchain data
  • amp-docs://amp-troubleshooting - Common issues and solutions

Data Sources & Schemas

  • amp-docs://amp-udfs - User-Defined Functions for SQL queries
  • amp-docs://amp-schemas-evm-rpc - EVM RPC schema documentation
  • amp-docs://amp-schemas-firehose-evm - Firehose EVM schema
  • amp-docs://amp-schemas-eth-beacon - Ethereum Beacon Chain schema
  • amp-docs://amp-manifest-schemas - Dataset definition schemas

Blockchain-Specific

  • amp-docs://amp-reorgs - Handling blockchain reorganizations

Admin API Error Documentation

  • amp-docs://admin-api-errors - Comprehensive error code reference (JSON format)

Operational Documentation

Documentation from the amp repository for deployment, installation, and operations:

  • amp-repo-docs://amp-repo - Main installation guide (ampup, Nix, building from source)
  • amp-repo-docs://amp-repo-references-concepts - Technical overview and core concepts
  • amp-repo-docs://amp-repo-references-operational-mode - Operational modes explained
  • amp-repo-docs://amp-repo-how-to-single-node - Single-node development mode
  • amp-repo-docs://amp-repo-how-to-serverless-mode - Serverless deployment
  • amp-repo-docs://amp-repo-how-to-battleship - Battleship deployment pattern
  • amp-repo-docs://amp-repo-quick-start-local - Local development quick start
  • amp-repo-docs://amp-repo-quick-start-ampup - Quick start with ampup installer

Available Tools

amp-documentation

Fetches and concatenates documentation for specified sections.

{
  sections: ["amp", "amp/config", "amp/udfs"]
}

amp-all-documentation

Fetches all Amp documentation at once.

amp-doc-links

Returns resource links for specified sections.

{
  sections: ["amp/config", "amp/udfs"]
}

admin-api-error-lookup

Lookup detailed information about a specific Admin API error code.

{
  errorCode: "DATASET_NOT_FOUND"
}

Returns detailed documentation including:

  • HTTP status code
  • Endpoint where error occurs
  • Description of the error
  • Conditions that trigger this error
  • Example error response

admin-api-errors-by-endpoint

Get all possible error codes for a specific Admin API endpoint.

{
  endpoint: "/datasets"
}

Returns a formatted list of all errors that can occur on the specified endpoint.

admin-api-all-errors

Get a complete reference of all Admin API error codes.

No parameters required. Returns a comprehensive table of all error codes with their HTTP status codes and endpoints.

amp-repo-documentation

Fetches operational documentation from the amp repository.

{
  docIds: [
    "amp-repo",
    "amp-repo/references/concepts",
    "amp-repo/quick-start/local"
  ]
}

Returns documentation for deployment, installation, and operational guides.

amp-repo-all-documentation

Fetches all operational documentation from the amp repository at once.

No parameters required. Returns all guides including quick starts, how-tos, and reference documentation.

Development

Building

pnpm install
pnpm build

Running Locally

pnpm start

Development Mode (with watch)

pnpm dev

Documentation Coverage

This MCP server includes developer-focused documentation for building applications on Amp:

Getting Started

  • Complete getting started guide with installation options
  • Example applications (Vite+React, Next.js, Fastify backend)
  • Querying data guide with JSON Lines and Arrow Flight patterns

Developer Guides

  • Working with data sources (EVM RPC, Firehose, Beacon Chain)
  • Using SQL queries and User-Defined Functions
  • Building frontends with TanStack Query or Effect Atom
  • Building backends with Arrow Flight
  • Real-time data patterns and polling

Configuration & Schema Reference

  • Configuring Amp for your application
  • Dataset versioning system
  • Schema documentation for all data sources
  • Dataset definition schemas

Troubleshooting

  • Common issues and solutions when building on Amp
  • Understanding blockchain reorganizations and how to handle them

License

MIT

Links

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选