Skip to main content
Glama
Federal Register MCP

Federal Register MCP

by anblanco

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

Related MCP server: ClaudeX

Requirements

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

  • npm

Installation

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

Option B: Clone

git clone https://github.com/anblanco/FederalRegisterMCP.git
cd FederalRegisterMCP
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/FederalRegisterMCP"
    }
  }
}

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

Available Tools

5 tools
get_executive_orderGet Executive OrderA
Read-onlyIdempotent

Retrieve the full text of a specific executive order by its database ID, Federal Register document number, official EO number, or partial title match.

Inputs: id, title, document_number, executive_order_number. Returns: id, title, fr_url, pdf_url, +9 more

get_executive_order_summaryExecutive Order SummaryA
Read-onlyIdempotent

Returns summary statistics about executive orders in the database: total count, count by month, count by subtype, most recent executive orders, average word count, and database freshness.

Inputs: no named parameters. Returns: byMonth, bySubtype, totalCount, lastSyncedAt, +5 more

list_executive_ordersList Executive OrdersA
Read-onlyIdempotent

List executive orders stored in the database. Supports filtering by date range, keyword in title, and document subtype. Returns id, title, signing date, Federal Register URL, word count, EO number, citation, and subtype. Ordered by signing date descending.

Inputs: limit, offset, endDate, keyword, +2 more. Returns: results

search_executive_ordersSearch Executive OrdersA
Read-onlyIdempotent

Full-text search across all executive order titles and body text. Supports boolean operators (AND, OR, NOT), phrase search ("quoted phrases"), and prefix search (term*). Results ranked by relevance. Search is entirely local — no API calls.

Inputs: query (required), limit. Returns: results

sync_executive_ordersSync Executive OrdersA
Idempotent

Sync executive orders from the Federal Register API. Fetches presidential document metadata and full text. Use incremental mode to only fetch new/missing documents.

Inputs: incremental. Returns: log, total, errors, newCount, +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 5 tools

    Disambiguation4/5

    Each tool has a distinct verb+scope: sync (write/ingest), list (filtered browse), get (single-record retrieval by multiple keys), search (local full-text boolean search), and summary (aggregate stats). The only mild overlap is list_executive_orders' keyword-in-title filter versus search_executive_orders' body-text search, but the descriptions make the boundary clear (metadata filtering vs ranked local full-text search).

    Naming Consistency5/5

    All names follow a consistent snake_case verb_noun pattern (sync_, list_, get_, search_, get_..._summary) on a single shared resource noun. No camelCase mixing, no vague standalone verbs, and the convention is immediately readable.

    Tool Count5/5

    Five tools cleanly cover ingestion, browsing, retrieval, search, and reporting for one document domain, with no redundant or vestigial tools. This is well within the ideal 3-15 range and each tool earns its place.

    Completeness4/5

    The read/ingest lifecycle is well covered (sync, list, get, search, stats), but there is no delete/prune or forced re-sync for individual documents, and no way to fetch related presidential document types (proclamations, notices) despite subtype metadata being tracked. These are minor gaps an agent can work around, not dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to search and retrieve executive orders, presidential documents, rules, and agency information from the Federal Register API through natural language queries.
      12
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Persistent memory + FTS5 full-text search for Claude Code conversation history. Indexes ~/.claude/projects/ JSONL into SQLite, exposes 10 MCP tools (store/recall/search memories, browse sessions, get summaries) plus prompts. Includes a web UI for visual exploration
      10
      106 npm
      98
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables querying local meeting notes, calendar events, email metadata, and daily digests from Imprint's database via natural language through Claude Desktop and other MCP clients.
      8 npm
      MIT