npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@edgeandnode/amp-mcp

v1.0.1

Published

A Model Context Protocol (MCP) server providing developer-focused documentation for building applications on Amp.

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