Skip to main content
Glama

zk-kit-mcp

license npm node

MCP server for ZK-Kit, zero-knowledge toolkit by PSE at the Ethereum Foundation. Gives LLMs structured access to ~30 packages across TypeScript, Circom, Solidity, Noir, and Rust.

Tools

Discovery & Navigation

  • list_packages - List and search packages. Filter by keyword, language, or category.

  • get_ecosystem_overview - High-level map of all packages grouped by language and category.

  • compare_packages - Side-by-side comparison of two or more packages.

  • get_cross_language_coverage - Concept * language matrix showing which implementations exist and where gaps are.

  • get_dependency_graph - Internal dependency graph between ZK-Kit packages, with reverse dependencies.

Documentation & Source

  • get_package_readme - Full README with API docs, examples, and audit status. Supports a summary mode.

  • get_package_api - Main entry/export file (src/index.ts, src/lib.rs, main contract, main circuit).

  • get_package_source - Browse directory tree or read any file in a package.

  • get_package_changelog - Version-by-version changes, breaking changes, and migration notes.

  • search_code - Search across ZK-Kit source code using GitHub Code Search.

Package Health & Activity

  • get_releases - Recent releases for a repo or filtered by package.

  • get_package_commits - Recent commits for a specific package.

  • get_package_downloads - Download stats from npm or crates.io.

  • get_build_status - Latest CI/CD workflow runs from GitHub Actions.

  • get_repo_stats - Stars, forks, open issues, last push date, license, and topics.

Dependencies & Issues

  • get_package_dependencies - Runtime, dev, and peer dependencies from the package manifest.

  • search_issues - Search GitHub issues across ZK-Kit repositories. Scope by package, language, or repo.

Related MCP server: Package Scout

Prompts & Resources

Prompts

  1. zk-integration-guide - Guided workflow for integrating a ZK-Kit package into your project.

  2. zk-concept-explainer - Learn about a ZK concept (Merkle trees, Poseidon, EdDSA, etc.) through ZK-Kit implementations.

  3. troubleshoot-package - Guided troubleshooting for issues with a ZK-Kit package.

  4. migration-guide - Upgrade to a newer version or switch to a different language implementation.

All prompts support package name autocomplete.

Resources

  • zk-kit://overview - Static ecosystem overview of all packages.

  • zk-kit://packages/{language}/{dirName} - Package details with language and directory name completions.

Installation

npx

npx zk-kit-mcp

Global install

npm install -g zk-kit-mcp

From source

git clone https://github.com/trionlabs/zk-kit-mcp.git
cd zk-kit-mcp
npm install
npm run build
node build/index.js

Configuration

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "zk-kit": {
      "command": "npx",
      "args": ["-y", "zk-kit-mcp"],
      "env": {
        "GITHUB_TOKEN": "your-token-here"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json in your workspace:

{
  "servers": {
    "zk-kit": {
      "command": "npx",
      "args": ["-y", "zk-kit-mcp"],
      "env": {
        "GITHUB_TOKEN": "your-token-here"
      }
    }
  }
}

Cursor

Add to your Cursor MCP config:

{
  "mcpServers": {
    "zk-kit": {
      "command": "npx",
      "args": ["-y", "zk-kit-mcp"],
      "env": {
        "GITHUB_TOKEN": "your-token-here"
      }
    }
  }
}

Claude Code

claude mcp add zk-kit -- npx -y zk-kit-mcp

With a GitHub token:

claude mcp add zk-kit --env GITHUB_TOKEN=your-token-here -- npx -y zk-kit-mcp

GitHub Token

Optional but recommended. Set GITHUB_TOKEN as an environment variable.

  • Without token: 60 requests/hour (GitHub API anonymous limit)

  • With token: 5,000 requests/hour

A fine-grained personal access token with no permissions is sufficient, all ZK-Kit repos are public.

READMEs are fetched from raw.githubusercontent.com, which is not rate-limited by the GitHub API.

How It Works

  1. Discovers packages from 5 GitHub repos at startup (zk-kit, zk-kit.circom, zk-kit.solidity, zk-kit.noir, zk-kit.rust)

  2. Reads manifests (package.json, Cargo.toml, Nargo.toml) for metadata

  3. Holds everything in memory. No database, no config files

  4. Fetches READMEs and changelogs on demand, caches with 10-minute TTL

Startup takes 2-4 seconds. If a repo is unavailable, packages from other repos still load.

Development

npm run dev          # run via tsx (no build needed)
npm test             # vitest (343 tests)
npm run lint         # biome check
npm run build        # tsc + chmod
npx @modelcontextprotocol/inspector node build/index.js  # interactive testing

License

MIT

Available Tools

17 tools
compare_packagesCompare PackagesA
Read-onlyIdempotent

Side-by-side comparison of two or more ZK-Kit packages. Shows language, category, description, install commands, and cross-language variants.

Inputs: names (required).

get_build_statusGet Build StatusA
Read-onlyIdempotent

Fetch the latest CI/CD workflow run status from GitHub Actions for ZK-Kit repos. Shows recent workflow runs with pass/fail status. Useful for assessing whether the project builds and tests pass right now.

Inputs: repo, limit, language.

get_cross_language_coverageCross-Language CoverageA
Read-onlyIdempotent

Show a concept * language matrix revealing which ZK-Kit concepts are implemented in which languages and where gaps exist. Zero API cost, computed from the package registry.

Inputs: no named parameters.

get_dependency_graphDependency GraphA
Read-onlyIdempotent

Show the internal dependency graph between ZK-Kit packages. Without a package name, shows the full graph: foundational, leaf, and independent packages. With a package name, shows what that package depends on and what depends on it (reverse dependencies).

Inputs: name.

get_ecosystem_overviewEcosystem OverviewA
Read-onlyIdempotent

Get a high-level map of the entire ZK-Kit ecosystem: all packages grouped by language and category, with cross-language links.

Inputs: no named parameters.

get_package_apiGet Package APIA
Read-onlyIdempotent

Fetch the main entry/export file for a ZK-Kit package. Returns the primary API surface: src/index.ts for TypeScript, src/lib.rs for Rust, the main contract for Solidity, the main circuit for Circom/Noir. Use this to quickly understand a package's public API without browsing the full source tree.

Inputs: name (required).

get_package_changelogGet Package ChangelogA
Read-onlyIdempotent

Fetch the CHANGELOG.md for a ZK-Kit package. Shows version-by-version changes, breaking changes, and migration notes. More granular than repo-level releases.

Inputs: name (required).

get_package_commitsGet Package CommitsA
Read-onlyIdempotent

Fetch recent commits for a specific ZK-Kit package. Shows what changed recently, who contributed, and when. Useful for assessing package activity and recent bug fixes.

Inputs: name (required), limit.

get_package_dependenciesGet Package DependenciesA
Read-onlyIdempotent

Fetch the dependency list for a ZK-Kit package. Shows runtime, dev, and peer dependencies from the package manifest (package.json, Cargo.toml, or Nargo.toml).

Inputs: name (required).

get_package_downloadsGet Package DownloadsA
Read-onlyIdempotent

Fetch download statistics for a ZK-Kit package from npm (TypeScript/Circom/Solidity) or crates.io (Rust). Shows weekly and monthly download counts as a measure of package popularity and adoption.

Inputs: name (required).

get_package_readmeGet Package READMEA
Read-onlyIdempotent

Fetch the full README for a ZK-Kit package. Contains API docs, usage examples, install instructions, and audit status. Use this when you need detailed documentation for a specific package. Set summary=true for a concise version with just install command, description, and first code example.

Inputs: name (required), summary.

get_package_sourceGet Package SourceA
Read-onlyIdempotent

Browse source code of a ZK-Kit package. Without filePath, returns the full directory tree. With filePath, returns the file content. Use this to read source code, type definitions, tests, or any file in a package.

Inputs: name (required), filePath.

get_releasesGet ReleasesA
Read-onlyIdempotent

Fetch recent releases for a ZK-Kit repo. Specify a language to get releases for that repo, a specific repo slug, or a package name to filter releases for that package. Defaults to all repos.

Inputs: repo, limit, package, language.

get_repo_statsGet Repo StatsB
Read-onlyIdempotent

Fetch GitHub repository statistics for ZK-Kit repos: stars, forks, open issues, last push date, license, and topics. Useful for assessing project health and activity.

Inputs: repo, language.

list_packagesList PackagesA
Read-onlyIdempotent

List and search ZK-Kit packages. Filter by keyword, language, or category. Returns package names, descriptions, languages, and install commands.

Inputs: query, category, language.

search_codeSearch CodeB
Read-onlyIdempotent

Search across ZK-Kit source code using GitHub Code Search. Find implementations, usages, and patterns. Optionally scope to a specific package for more relevant results.

Inputs: query (required), package, language.

search_issuesSearch IssuesB
Read-onlyIdempotent

Search GitHub issues across ZK-Kit repositories. Useful for finding bugs, feature requests, or discussions about specific packages. Scope to a specific package (most precise), language, or repo.

Inputs: query (required), repo, state, package, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools target a clearly distinct resource or facet (readme, changelog, commits, downloads, build status, repo stats). A few pairs invite confusion — get_package_dependencies vs get_dependency_graph, get_releases vs get_package_changelog, and get_package_source vs get_package_api — but the descriptions explicitly differentiate them (manifest deps vs internal graph; repo releases vs version-by-version changelog; full tree vs entry file).

    Naming Consistency5/5

    Every tool follows a predictable verb_noun snake_case pattern (get_*, list_*, search_*, compare_*), with a strong recurring get_package_X prefix for the package-scoped readers. No mixing of conventions; names are self-documenting.

    Tool Count4/5

    17 tools is slightly on the heavy side but each covers a genuinely different facet of the ZK-Kit ecosystem (packages, source, API, deps, issues, commits, releases, CI, downloads). Nothing looks redundant enough to drop, though the surface is close to over-scoped.

    Completeness5/5

    The surface covers discovery (list/search/overview/coverage/compare), documentation (readme/changelog/api/source), and health signals (releases/commits/downloads/build/repo stats/issues/code search) — no obvious dead ends for a read-only ecosystem-exploration server.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to search and retrieve detailed package information from multiple package registries (NPM, crates.io, NuGet, PyPI, Go).
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to discover and evaluate existing npm packages or built-in platform capabilities before writing custom code, returning vetted recommendations, install commands, and supporting evidence.
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables querying open-source package data across npm, PyPI, Cargo, Go, Maven, NuGet and RubyGems — versions, licences, security advisories, dependency trees, project health and hash lookups — so assistants can review or audit a dependency in a single call.
      9
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to search npm and GitHub packages, resolve versions, list package files and entry points, and retrieve jsDelivr CDN usage statistics including network, proxy, browser, and platform market share data. It also supports reverse hash lookups to identify which package or file a sha256 hash belongs to.
      37
      5 npm
      MIT