US Government Website Sentiment Monitor

Tracking partisan content and potential Hatch Act violations on federal government websites over time.

Partisan detections over time

Partisan detections

Sites that changed classification

URL Change First seen Last seen

Methodology

Homepages of ~1,300 US federal government (.gov) websites were scraped at multiple points between October 2025 and February 2026 using a Playwright-based scraper with stealth settings to retrieve rendered page content.

Each page's text (up to 4,000 characters) was classified using an LLM via the OpenRouter API. Sites were labeled partisan if the text contained explicit partisan language: named party attacks, political blame statements, or campaign-style rhetoric. Factual policy descriptions and neutral government content were labeled neutral. Pages that were blocked, empty, or returned errors are labeled unknown.

Results are categorized into three groups: agency sites (executive branch departments and agencies), congressional sites (official caucus and leadership pages, which are expected to reflect partisan positions), and historical archives (frozen sites from prior administrations). Headline statistics reflect agency sites only. All categories are available in the partisan detections feed above.

Raw data is available for download. This project is independent and not affiliated with any government agency.