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

aztec-mcp-server

v1.5.0

Published

MCP server for Aztec development - clones and searches Aztec documentation and examples

Readme

Aztec MCP Server

An MCP (Model Context Protocol) server that provides local access to Aztec documentation, examples, and source code through cloned repositories.

Features

  • Version Support: Clone specific Aztec release tags (e.g., v3.0.0-devnet.6-patch.1)
  • Local Repository Cloning: Automatically clones Aztec repositories with sparse checkout for efficiency
  • Fast Code Search: Search Noir contracts and TypeScript files using ripgrep (with fallback)
  • Documentation Search: Search Aztec documentation by section
  • Example Discovery: List and read Aztec contract examples

Installation

With npx (recommended)

npx aztec-mcp-server

Global install

npm install -g aztec-mcp-server
aztec-mcp

Configuration

Claude Code Plugin

Add to your .mcp.json:

{
  "mcpServers": {
    "aztec-local": {
      "command": "npx",
      "args": ["-y", "aztec-mcp-server"]
    }
  }
}

Available Tools

aztec_sync_repos

Clone or update Aztec repositories locally. Run this first to enable other tools.

Clones:
- aztec-packages (docs, aztec-nr, noir-contracts) - sparse checkout
- aztec-examples (full)
- aztec-starter (full)

Parameters:

  • version (string): Aztec version tag to clone (e.g., v3.0.0-devnet.6-patch.1). Defaults to latest supported version.
  • force (boolean): Force re-clone even if repos exist
  • repos (string[]): Specific repos to sync

Example - Clone specific version:

aztec_sync_repos({ version: "v3.0.0-devnet.6-patch.1" })

aztec_status

Check the status of cloned repositories.

aztec_search_code

Search Aztec contract code and source files. Supports regex patterns.

Parameters:

  • query (string, required): Search query (supports regex)
  • filePattern (string): File glob pattern (default: *.nr)
  • repo (string): Specific repo to search
  • maxResults (number): Maximum results (default: 30)

Example:

aztec_search_code({ query: "PrivateSet", filePattern: "*.nr" })

aztec_search_docs

Search Aztec documentation.

Parameters:

  • query (string, required): Documentation search query
  • section (string): Docs section (tutorials, concepts, developers, reference)
  • maxResults (number): Maximum results (default: 20)

aztec_list_examples

List available Aztec contract examples.

Parameters:

  • category (string): Filter by category (token, nft, defi, escrow, crowdfund)

aztec_read_example

Read the source code of an Aztec contract example.

Parameters:

  • name (string, required): Example contract name

aztec_read_file

Read any file from cloned repositories.

Parameters:

  • path (string, required): File path relative to repos directory

Configuration Options

Storage Location

Repositories are cloned to ~/.aztec-mcp/repos/ by default.

Override with the AZTEC_MCP_REPOS_DIR environment variable:

{
  "mcpServers": {
    "aztec-local": {
      "command": "npx",
      "args": ["-y", "aztec-mcp-server"],
      "env": {
        "AZTEC_MCP_REPOS_DIR": "/custom/path"
      }
    }
  }
}

Default Aztec Version

Set the default Aztec version with the AZTEC_DEFAULT_VERSION environment variable:

{
  "mcpServers": {
    "aztec-local": {
      "command": "npx",
      "args": ["-y", "aztec-mcp-server"],
      "env": {
        "AZTEC_DEFAULT_VERSION": "v3.0.0-devnet.6-plugin.1"
      }
    }
  }
}

Development

# Clone the repo
git clone https://github.com/critesjosh/aztec-mcp-server
cd aztec-mcp-server

# Install dependencies
npm install

# Build
npm run build

# Run locally
node dist/index.js

Requirements

  • Node.js 18+
  • Git
  • ripgrep (optional, for faster searching)

Cloned Repositories

| Repository | Description | Checkout | | ----------------------------------------------------------------- | ----------------- | -------------------------------------- | | aztec-packages | Main monorepo | Sparse: docs, aztec-nr, noir-contracts | | aztec-examples | Official examples | Full | | aztec-starter | Starter template | Full |

License

MIT