# US Federal Register: Rules & Regulation Alerts (MCP) (`amygraphics/us-federal-register`) Actor

Official Federal Register API for AI agents: search US rules, notices and presidential actions (agencies, RINs, abstracts, links), and monitor topics/agencies for new publications. No key. MCP-ready.

- **URL**: https://apify.com/amygraphics/us-federal-register.md
- **Developed by:** [Zakaria el bouami](https://apify.com/amygraphics) (community)
- **Categories:** Lead generation, Automation, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## US Federal Register: Rules & Regulation Alerts (MCP)

The **official US Federal Register API** — every final rule, proposed rule, notice and presidential document — keyless and agent-ready. Search by term/agency/type/dates for **full abstracts, RINs, citations, comment deadlines and links**, or monitor themes and get **`new-rule` alerts on publication day**. MCP-compatible.

### Who this is for

Law firms, lobby shops, compliance teams, regtech vendors and regulated industries (banking, pharma, energy, aviation, AI…) must track agency rulemaking — missing a final rule or comment deadline costs real money. The FR website has no granular alerts; paid trackers charge $50–300/month. This actor gives the same pulse for ~$0.001/run.

### What you get per row

FR document number, title, type (RULE / PRORULE / NOTICE / SUNSHINE / PRESDOCU), publication date, issuing agencies (+slugs), official abstract, FR citation, **Comments-close date**, **EO-12866 significance flag**, **Regulation Identifier Numbers (RIN)** — the canonical rule-tracking key — plus direct HTML & PDF URLs.

### Two modes

#### `search` — pull documents now

```json
{ "mode": "search", "term": "stablecoin", "docTypes": ["RULE"],
  "dateFrom": "2026-01-01", "maxResults": 10 }
```

Filter by agency slugs (`["treasury-department"]`), date window, or run a pure latest-rules listing (type only) — useful for daily digests.

#### `monitor` — battery-powered regulatory radar

```json
{ "mode": "monitor",
  "watchQueries": ["stablecoin",
                   "emissions@environmental-protection-agency@RULE",
                   "@food-and-drug-administration@PRORULE"] }
```

Spec format: **`term@agency@type`** (any slot optional). Run 1 snapshots today's docs **free**; every later run emits only **`new-rule`** rows for fresh publications. Scheduled daily: silence = $0.001.

### Recipes

1. **Compliance change feed** — Google Sheet/Slack for every new `RULE` from EPA/FINCEN/FDA touching your industry.
2. **Legal research** — search rule history by keyword; cite `citation`, `publicationDate`, `regulationIdNumbers`.
3. **Agent-native regulation Q\&A (MCP)** — "did Treasury finalize the stablecoin rule?" answered with today-dated evidence, never hallucinated.

### Data honesty

Direct from federalregister.gov at run time. Abstracts are the official FR summaries. Significance flags and RINs are as published (pre-notice documents may have no RIN — field left empty).

### Pricing

| event | price |
|---|---|
| Actor start | $0.001 |
| US federal document | $0.001 / row |

Typical: 10-doc search ≈ **$0.011** · daily monitor ≈ **$0.001–0.02**.

### MCP / AI-agent usage

```
https://api.apify.com/v2/acts/YOUR_HANDLE~us-federal-register/run-sync-get-dataset-items?token=YOUR_TOKEN
```

# Actor input Schema

## `mode` (type: `string`):

search = query documents by term/agency/type/dates · monitor = daily new-publication alerts per query.

## `term` (type: `string`):

(search) e.g. "stablecoin", "emissions standards", "artificial intelligence".

## `agencies` (type: `array`):

(search) e.g. \["treasury-department", "environmental-protection-agency"].

## `docTypes` (type: `array`):

(search) RULE, PRORULE, NOTICE, PRESDOCU, SUNSHINE (empty = all).

## `dateFrom` (type: `string`):

(search) ISO date, e.g. 2026-01-01.

## `dateTo` (type: `string`):

(search) ISO date.

## `watchQueries` (type: `array`):

(monitor) Specs "term@agency@type" — e.g. \["stablecoin", "emissions@environmental-protection-agency@RULE"]. New docs -> `new-rule` alerts.

## `maxResults` (type: `integer`):

Cap rows per run (each billed row $0.001).

## `requestDelaySecs` (type: `number`):

Politeness delay between API calls.

## Actor input object example

```json
{
  "mode": "search",
  "term": "",
  "agencies": [],
  "docTypes": [],
  "dateFrom": "",
  "dateTo": "",
  "watchQueries": [],
  "maxResults": 10,
  "requestDelaySecs": 0.4
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("amygraphics/us-federal-register").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("amygraphics/us-federal-register").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call amygraphics/us-federal-register --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,amygraphics/us-federal-register"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6AsDvFHbRKzky9KPc/builds/nffrLtAIp7fPAHeAr/openapi.json
