---
name: pp-fec
description: "Printing Press CLI for Fec. This application programming interface (API)"
author: "Hunter Veltri"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata:
  openclaw:
    requires:
      bins:
        - fec-pp-cli
    install:
      - kind: go
        bins: [fec-pp-cli]
        module: github.com/mvanhorn/printing-press-library/library/other/fec/cmd/fec-pp-cli
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/other/fec/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Fec — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `fec-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install fec --cli-only
   ```
2. Verify: `fec-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into `$GOPATH/bin` (default `$HOME/go/bin`), so add that directory to `$PATH` instead:

```bash
go install github.com/mvanhorn/printing-press-library/library/other/fec/cmd/fec-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

This application programming interface (API) allows you to explore the way candidates and committees fund their campaigns. 

 The Federal Election Commission (FEC) API is a RESTful web service supporting full-text and field-specific searches on FEC data. [Bulk downloads](https://www.fec.gov/data/advanced/?tab=bulk-data) are available on the current site. Information is tied to the underlying forms by file ID and image ID. Data are updated nightly. 

 There are a lot of data, and a good place to start is to use search to find interesting candidates and committees. Then, you can use their IDs to find report or line item details with the other endpoints. If you are interested in individual donors, check out contributor information in the `/schedule_a/` endpoints. 

 <b class="body" id="getting_started_head">Getting started with the openFEC API</b><br> 

 If you would like to use the FEC's API programmatically, you can sign up for your own API key using our form. Alternatively, you can still try out our API without an API key by using the web interface and using DEMO_KEY. Note that when you use the openFEC API you are subject to the [Terms of Service](https://github.com/fecgov/FEC/blob/master/TERMS-OF-SERVICE.md) and [Acceptable Use policy](https://github.com/fecgov/FEC/blob/master/ACCEPTABLE-USE-POLICY.md). 

 Signing up for an API key will enable you to place up to 1,000 calls an hour. Each call is limited to 100 results per page. You can email questions, comments or a request to get a key for 7,200 calls an hour (120 calls per minute) to <a href="mailto:APIinfo@fec.gov">APIinfo@fec.gov</a>. You can also ask questions and discuss the data in a community led [group](https://groups.google.com/forum/#!forum/fec-data). 

 The model definitions and schema are available at [/swagger](/swagger/). This is useful for making wrappers and exploring the data. 

 A few restrictions limit the way you can use FEC data. For example, you can’t use contributor lists for commercial purposes or to solicit donations. [Learn more here](https://www.fec.gov/updates/sale-or-use-contributor-information/). 

 [Inspect our source code](https://github.com/fecgov/openFEC). We welcome issues and pull requests! 

 <p><br></p> <h2 class="title" id="signup_head">Sign up for an API key</h2> <div id="apidatagov_signup">Loading signup form...</div>

## When Not to Use This CLI

Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.

## Command Reference

**audit-case** — Manage audit case

- `fec-pp-cli audit-case` — This endpoint contains Final Audit Reports approved by the Commission since inception.

**audit-category** — Manage audit category

- `fec-pp-cli audit-category` — This lists the options for the categories and subcategories available in the /audit-search/ endpoint.

**audit-primary-category** — Manage audit primary category

- `fec-pp-cli audit-primary-category` — This lists the options for the primary categories available in the /audit-search/ endpoint.

**calendar-dates** — Manage calendar dates

- `fec-pp-cli calendar-dates list` — Combines the election and reporting dates with Commission meetings, conferences, outreach, Advisory Opinions, rules
- `fec-pp-cli calendar-dates list-calendardates` — Returns CSV or ICS for downloading directly into calendar applications like Google, Outlook or other applications.

**candidate** — Candidate endpoints give you access to information about the people running for office. This information is organized by `candidate_id`. If you're unfamiliar with candidate IDs, using `/candidates/search/` will help you locate a particular candidate. 

 Officially, a candidate is an individual seeking nomination for election to a federal office. People become candidates when they (or agents working on their behalf) raise contributions or make expenditures that exceed $5,000. 

 The candidate endpoints primarily use data from FEC registration [Form 1](https://www.fec.gov/resources/cms-content/documents/fecfrm1.pdf) for committee information and [Form 2](https://www.fec.gov/resources/cms-content/documents/fecfrm2.pdf) for candidate information.

- `fec-pp-cli candidate` — This endpoint is useful for finding detailed information about a particular candidate.

**candidates** — Candidate endpoints give you access to information about the people running for office. This information is organized by `candidate_id`. If you're unfamiliar with candidate IDs, using `/candidates/search/` will help you locate a particular candidate. 

 Officially, a candidate is an individual seeking nomination for election to a federal office. People become candidates when they (or agents working on their behalf) raise contributions or make expenditures that exceed $5,000. 

 The candidate endpoints primarily use data from FEC registration [Form 1](https://www.fec.gov/resources/cms-content/documents/fecfrm1.pdf) for committee information and [Form 2](https://www.fec.gov/resources/cms-content/documents/fecfrm2.pdf) for candidate information.

- `fec-pp-cli candidates list` — Fetch basic information about candidates, and use parameters to filter results to the candidates you're looking for.
- `fec-pp-cli candidates list-search` — Fetch basic information about candidates and their principal committees. Each result reflects a unique FEC candidate ID.
- `fec-pp-cli candidates list-totals` — Aggregated candidate receipts and disbursements grouped by cycle.
- `fec-pp-cli candidates list-totals-2` — Candidate total receipts and disbursements aggregated by `aggregate_by`.

**committee** — Committees are entities that spend and raise money in an election. Their characteristics and relationships with candidates can change over time. 

 You might want to use filters or search endpoints to find the committee you're looking for. Then you can use other committee endpoints to explore information about the committee that interests you. 

 Financial information is organized by `committee_id`, so finding the committee you're interested in will lead you to more granular financial information. 

 The committee endpoints include all FEC filers, even if they aren't registered as a committee. 

 Officially, committees include the committees and organizations that file with the FEC. Several different types of organizations file financial reports with the FEC: 

 *Campaign committees authorized by particular candidates to raise and spend funds in their campaigns. Non-party committees (e.g., PACs), some of which may be sponsored by corporations, unions, trade or membership groups, etc. Political party committees at the national, state, and local levels. Groups and individuals making only independent expenditures Corporations, unions, and other organizations making internal communications* 

 The committee endpoints primarily use data from FEC registration Form 1 and Form 2.

- `fec-pp-cli committee <committee_id>` — This endpoint is useful for finding detailed information about a particular committee or filer.

**committees** — Committees are entities that spend and raise money in an election. Their characteristics and relationships with candidates can change over time. 

 You might want to use filters or search endpoints to find the committee you're looking for. Then you can use other committee endpoints to explore information about the committee that interests you. 

 Financial information is organized by `committee_id`, so finding the committee you're interested in will lead you to more granular financial information. 

 The committee endpoints include all FEC filers, even if they aren't registered as a committee. 

 Officially, committees include the committees and organizations that file with the FEC. Several different types of organizations file financial reports with the FEC: 

 *Campaign committees authorized by particular candidates to raise and spend funds in their campaigns. Non-party committees (e.g., PACs), some of which may be sponsored by corporations, unions, trade or membership groups, etc. Political party committees at the national, state, and local levels. Groups and individuals making only independent expenditures Corporations, unions, and other organizations making internal communications* 

 The committee endpoints primarily use data from FEC registration Form 1 and Form 2.

- `fec-pp-cli committees` — Fetch basic information about committees and filers. Use parameters to filter for particular characteristics.

**communication-costs** — Reports of communication costs by corporations and membership organizations from the FEC [F7 forms](https://www.fec.gov/pdf/forms/fecform7.pdf).

- `fec-pp-cli communication-costs list` — 52 U.S.C.
- `fec-pp-cli communication-costs list-communicationcosts` — Communication cost aggregated by candidate ID and committee ID.
- `fec-pp-cli communication-costs list-communicationcosts-2` — Communication cost aggregated by candidate ID and committee ID.
- `fec-pp-cli communication-costs list-communicationcosts-3` — Total communications costs aggregated across committees on supported or opposed candidates by cycle or candidate

**efile** — Manage efile

- `fec-pp-cli efile list` — Basic information about electronic files coming into the FEC, posted as they are received.
- `fec-pp-cli efile list-form1` — Basic information about electronic files coming into the FEC, posted as they are received.
- `fec-pp-cli efile list-form2` — Basic information about electronic files coming into the FEC, posted as they are received.
- `fec-pp-cli efile list-reports` — Key financial data reported periodically by committees as they are reported.
- `fec-pp-cli efile list-reports-2` — Key financial data reported periodically by committees as they are reported.
- `fec-pp-cli efile list-reports-3` — Key financial data reported periodically by committees as they are reported.

**election-dates** — Manage election dates

- `fec-pp-cli election-dates` — FEC election dates since 1995.

**electioneering** — An electioneering communication is any broadcast, cable or satellite communication that fulfills each of the following conditions: 

 _The communication refers to a clearly identified federal candidate._ 

 _The communication is publicly distributed by a television station, radio station, cable television system or satellite system for a fee._ 

 _The communication is distributed within 60 days prior to a general election or 30 days prior to a primary election to federal office._

- `fec-pp-cli electioneering list` — An electioneering communication is any broadcast
- `fec-pp-cli electioneering list-aggregates` — Electioneering communications costs aggregates
- `fec-pp-cli electioneering list-bycandidate` — Electioneering costs aggregated by candidate
- `fec-pp-cli electioneering list-totals` — Total electioneering communications spent on candidates by cycle or candidate election year

**elections** — Manage elections

- `fec-pp-cli elections list` — Look at the top-level financial information for all candidates running for the same office.
- `fec-pp-cli elections list-search` — List elections by cycle, office, state, and district.
- `fec-pp-cli elections list-summary` — List elections by cycle, office, state, and district.

**filings** — All official records and reports filed by or delivered to the FEC. 

 Note: because the filings data includes many records, counts for large result sets are approximate; you will want to page through the records until no records are returned.

- `fec-pp-cli filings` — All official records and reports filed by or delivered to the FEC.

**legal** — Explore relevant statutes, regulations and Commission actions.

- `fec-pp-cli legal get` — Search legal documents by type and number
- `fec-pp-cli legal list` — Search legal documents by document type, or across all document types using keywords, parameter values and ranges.

**names** — Manage names

- `fec-pp-cli names list` — Search for candidates or committees by name.
- `fec-pp-cli names list-auditcommittees` — Search for candidates or committees by name.
- `fec-pp-cli names list-candidates` — Search for candidates or committees by name.
- `fec-pp-cli names list-committees` — Search for candidates or committees by name.

**national-party** — Manage national party

- `fec-pp-cli national-party list` — This endpoint includes national party committee account receipts for presidential nominating conventions
- `fec-pp-cli national-party list-nationalparty` — This endpoint includes national party committee account disbursements for presidential nominating conventions
- `fec-pp-cli national-party list-nationalparty-2` — This endpoint includes national party committee account total receipts and total disbursements for presidential

**operations-log** — Manage operations log

- `fec-pp-cli operations-log` — The Operations log contains details of each report loaded into the database.

**presidential** — Data supporting fec.gov's presidential map. 

 For more information about the presidential map data available to download from fec.gov, please visit: https://www.fec.gov/campaign-finance-data/presidential-map-data/

- `fec-pp-cli presidential list` — Coverage end date per candidate. Filter by candidate_id and/or election_year
- `fec-pp-cli presidential list-contributions` — Net receipts per candidate. Filter with `contributor_state='US'` for national totals
- `fec-pp-cli presidential list-contributions-2` — Contribution receipts by size per candidate. Filter by candidate_id, election_year and/or size
- `fec-pp-cli presidential list-contributions-3` — Contribution receipts by state per candidate. Filter by candidate_id and/or election_year
- `fec-pp-cli presidential list-financialsummary` — Financial summary per candidate. Filter by candidate_id and/or election_year

**rad-analyst** — Manage rad analyst

- `fec-pp-cli rad-analyst` — Use this endpoint to look up the RAD Analyst for a committee.

**reporting-dates** — Manage reporting dates

- `fec-pp-cli reporting-dates` — FEC election dates since 1995.

**reports** — Manage reports

- `fec-pp-cli reports` — Each report represents the summary information from Form 3, Form 3X and Form 3P.

**rulemaking** — Manage rulemaking

- `fec-pp-cli rulemaking` — The Searchable Electronic Rulemaking System (SERS)

**schedules** — Manage schedules

- `fec-pp-cli schedules get` — This description is for both ​`/schedules​/schedule_a​/` and ​ `/schedules​/schedule_a​/{sub_id}​/`.
- `fec-pp-cli schedules get-scheduleb` — Schedule B filings describe itemized disbursements.
- `fec-pp-cli schedules get-schedulec` — Schedule C shows all loans, endorsements and loan guarantees a committee receives or makes.
- `fec-pp-cli schedules get-scheduled` — Schedule D, it shows debts and obligations owed to or by the committee that are required to be disclosed.
- `fec-pp-cli schedules get-schedulef` — Schedule F
- `fec-pp-cli schedules list` — This description is for both ​`/schedules​/schedule_a​/` and ​ `/schedules​/schedule_a​/{sub_id}​/`.
- `fec-pp-cli schedules list-schedulea` — This endpoint provides itemized individual contributions received by a committee
- `fec-pp-cli schedules list-schedulea-10` — Itemized individual contributions aggregated by contributor’s state, candidate, committee type and cycle.
- `fec-pp-cli schedules list-schedulea-2` — This endpoint provides itemized individual contributions received by a committee
- `fec-pp-cli schedules list-schedulea-3` — This endpoint provides individual contributions received by a committee, aggregated by size
- `fec-pp-cli schedules list-schedulea-4` — This endpoint provides itemized individual contributions received by a committee, aggregated by the contributor’s state.
- `fec-pp-cli schedules list-schedulea-5` — This endpoint provides itemized individual contributions received by a committee
- `fec-pp-cli schedules list-schedulea-6` — Efiling endpoints provide real-time campaign finance data received from electronic filers.
- `fec-pp-cli schedules list-schedulea-7` — This endpoint provides itemized individual contributions received by a committee
- `fec-pp-cli schedules list-schedulea-8` — This endpoint provides itemized individual contributions received by a committee
- `fec-pp-cli schedules list-schedulea-9` — This endpoint provides itemized individual contributions received by a committee, aggregated by contributor’s state
- `fec-pp-cli schedules list-scheduleaform5` — FEC FORM 5 Receipts REPORT OF INDEPENDENT EXPENDITURES MADE AND CONTRIBUTIONS RECEIVED To Be Used By Persons (Other
- `fec-pp-cli schedules list-scheduleb` — Schedule B filings describe itemized disbursements.
- `fec-pp-cli schedules list-scheduleb-2` — Schedule B disbursements aggregated by disbursement purpose category.
- `fec-pp-cli schedules list-scheduleb-3` — Schedule B disbursements aggregated by recipient name. To avoid double counting, memoed items are not included.
- `fec-pp-cli schedules list-scheduleb-4` — Schedule B disbursements aggregated by recipient committee ID, if applicable.
- `fec-pp-cli schedules list-scheduleb-5` — Efiling endpoints provide real-time campaign finance data received from electronic filers.
- `fec-pp-cli schedules list-schedulec` — Schedule C shows all loans, endorsements and loan guarantees a committee receives or makes.
- `fec-pp-cli schedules list-scheduled` — Schedule D, it shows debts and obligations owed to or by the committee that are required to be disclosed.
- `fec-pp-cli schedules list-schedulee` — Schedule E covers the line item expenditures for independent expenditures.
- `fec-pp-cli schedules list-schedulee-2` — Schedule E receipts aggregated by recipient candidate. To avoid double counting, memoed items are not included.
- `fec-pp-cli schedules list-schedulee-3` — Efiling endpoints provide real-time campaign finance data received from electronic filers.
- `fec-pp-c