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

federal-register-mcp

v0.1.0

Published

MCP server for syncing and querying White House Executive Orders via the Federal Register API

Readme

Federal Register MCP

An MCP server that syncs Executive Orders from the Federal Register API, stores them in a local SQLite database with full-text search, and exposes query tools for Claude Code and other MCP clients.

Provides structured access to presidential executive actions published in the Federal Register, with full-text search and filtering through natural language via Claude.

What it does

  • Syncs all presidential executive orders, proclamations, and memoranda signed since January 20, 2025
  • Stores full text, metadata, and Federal Register citations in a local SQLite database
  • Provides full-text search with BM25 ranking across titles and document bodies
  • Exposes five MCP tools that Claude can call directly during conversation

MCP Tools

| Tool | Description | |------|-------------| | sync_executive_orders | Fetch latest documents from the Federal Register API (incremental or full) | | list_executive_orders | List documents with filters (date range, keyword, subtype) and pagination | | get_executive_order | Retrieve full text by ID, document number, EO number, or title match | | search_executive_orders | Full-text search with FTS5 boolean operators, phrase matching, and prefix search | | get_executive_order_summary | Database statistics: counts by month/subtype, word count averages, recent actions |

Requirements

  • Node.js 25+ (uses built-in node:sqlite — no native database dependencies)
  • npm

Installation

Option A: npm (recommended for Claude Code users)

npm install -g federal-register-mcp
federal-register-sync

Option B: Clone

git clone https://github.com/yourusername/federal-register-mcp.git
cd federal-register-mcp
npm install
npm run sync

The initial sync fetches all document metadata and full text from the Federal Register API. Takes a few minutes on first run. Subsequent runs are incremental (only fetches new/missing documents).

Usage

As an MCP server (Claude Code)

Add to your Claude Code MCP configuration (.mcp.json in your project root or ~/.claude.json):

{
  "mcpServers": {
    "federal-register-mcp": {
      "command": "npx",
      "args": ["federal-register-mcp"]
    }
  }
}

If running from a local clone instead:

{
  "mcpServers": {
    "federal-register-mcp": {
      "command": "npx",
      "args": ["tsx", "src/entry/start.ts"],
      "cwd": "/absolute/path/to/federal-register-mcp"
    }
  }
}

Then ask Claude things like:

  • "Search executive orders about energy policy"
  • "List all executive orders signed in February 2025"
  • "Get the full text of EO 14154"
  • "Sync the latest executive orders"
  • "Show me a summary of all executive actions"

As a CLI

npm run sync            # Incremental sync (skip docs with full text)
npm run sync:force      # Full re-sync of all documents
npm run stats           # Show detailed statistics
npm run start           # Start MCP server (stdio transport)

Data Source

All data comes from the Federal Register API, the official daily journal of the United States government. Document full text is fetched from the Federal Register's raw text endpoint — no HTML parsing required.

License

MIT