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

@getmcp/registry

v0.10.1

Published

Registry of MCP server definitions synced from the official MCP registry

Downloads

611

Readme

@getmcp/registry

Registry of popular MCP server definitions in canonical format. Provides lookup, search, and listing functions.

Install

npm install @getmcp/registry

Usage

Find and use a server

import { getServer, getServerBySlug, getServerOrThrow, searchServers } from "@getmcp/registry";

// Lookup by official ID (reverse-DNS name)
const github = getServer("io.github.github/github-mcp-server");
// => { id: "io.github.github/github-mcp-server", slug: "github-github", name: "GitHub", ... }

// Lookup by slug (for web URLs — use getServerBySlug, not getServer)
const github2 = getServerBySlug("github-github");

// Throws if not found
const fs = getServerOrThrow("io.github.modelcontextprotocol/server-filesystem");

// Search by text query (matches id, slug, name, description, categories, author, tags)
const results = searchServers("database");
// => [{ id: "io.github.modelcontextprotocol/server-postgres", slug: "postgres", ... }]

Browse the registry

import {
  getAllServers,
  getServerIds,
  getServersByCategory,
  getCategories,
  getServerCount,
} from "@getmcp/registry";

getAllServers(); // All server entries, sorted by ID
getServerIds(); // ["io.github.anthropics/...", "io.github.github/...", ...]
getServersByCategory("web"); // Servers tagged with "web"
getCategories(); // All unique categories
getServerCount(); // Total number of registered servers

Architecture

Server definitions are stored in a single data/servers.json file, synced from the official MCP registry via an automated sync pipeline (npm run sync). Each entry uses an official reverse-DNS name as its canonical ID (e.g. io.github.github/github-mcp-server) with a URL-friendly slug for display (e.g. github-github). Entries are validated against the RegistryEntry Zod schema at load time. To add a new server, submit it to the official MCP registry — getmcp syncs automatically via a daily GitHub Actions workflow.

Browse all servers at getmcp.es or from the CLI:

npx @getmcp/cli list

API

| Export | Description | | -------------------------------- | ----------------------------------------------------------------------------- | | getServer(id) | Get server by official ID (reverse-DNS name) | | getServerBySlug(slug) | Get server by slug directly | | getServerOrThrow(id) | Get server by official ID (throws if not found) | | getAllServers() | Get all server entries sorted by ID | | getServerIds() | Get all server IDs sorted (reverse-DNS format) | | searchServers(query) | Full-text search across id, slug, name, description, categories, author, tags | | getServersByCategory(cat) | Filter servers by category | | getCategories() | Get all unique categories | | getServerCount() | Total number of registered servers | | findServerByCommand(cmd, args) | Find server by command and args | | getServerMetrics(id) | Get GitHub/npm/PyPI metrics for a server | | getAllMetrics() | Get all server metrics | | getRawServerData(id) | Get raw registry entry data before internal transformation | | getServersSortedBy(metric, n?) | Get servers sorted by a metric (stars, downloads, etc.) | | loadFromEntries(entries) | Load registry from an array of entries | | loadFromPath(path) | Load registry from a JSON file path | | resetRegistry() | Reset registry to default data |

License

MIT