Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
beita6969 avatar

Census Data

  • 16 installs
  • 869 repo stars
  • Updated June 8, 2026
  • beita6969/scienceclaw

census-data is a skill that queries the US Census Bureau API for US demographics, population, housing, and economic data by geography.

About

Census-data is a skill that queries the US Census Bureau API for demographics, population, housing, and economic data by geography. A developer uses it to get figures like state population, median household income, or poverty rates via curl against the ACS 5-year and Decennial endpoints. It requires a free Census API key. It is scoped to US data only.

  • Queries the US Census Bureau API for demographics, population, and economic data
  • Covers ACS 5-year estimates and Decennial Census endpoints
  • Needs a free CENSUS_API_KEY environment variable

Census Data by the numbers

  • 16 all-time installs (skills.sh)
  • Ranked #1,318 of 2,065 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
At a glance

census-data capabilities & compatibility

Free with a free Census API key

Capabilities
data analysis · census lookup
Use cases
data analysis · research
Pricing
Free
From the docs

What census-data says it does

Query the US Census Bureau API for demographics, population, and economic data.
SKILL.md
Get a free API key at https://api.census.gov/data/key_signup.html
SKILL.md
ACS 5-year estimates are most reliable for small geographies
SKILL.md
npx skills add https://github.com/beita6969/scienceclaw --skill census-data

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs16
repo stars869
Last updatedJune 8, 2026
Repositorybeita6969/scienceclaw

What it does

Query US Census Bureau demographic, population, and economic data by geography via the public API.

Who is it for?

Pulling US demographic and economic statistics by state, county, or geography

Skip if: Non-US data or real-time statistics

When should I use this skill?

A user asks about US demographics, population, housing, or economic data by geography

By the numbers

  • Rate limit 500 requests/day without key
  • 6 common variables documented (population, income, poverty, home value, degrees, race)

Files

SKILL.mdMarkdownGitHub ↗

US Census Data Skill

Query the US Census Bureau API for demographics, population, and economic data.

When to Use

  • "What's the population of Texas?"
  • "Show demographic breakdown by county"
  • "Get median household income for California"
  • "Compare poverty rates across states"

When NOT to Use

  • Non-US data (use world-bank-data)
  • Real-time economic data (use financial APIs)
  • Historical pre-1790 data

Setup

Get a free API key at https://api.census.gov/data/key_signup.html

export CENSUS_API_KEY=your_key_here

API Base

https://api.census.gov/data/

Common Commands

ACS 5-Year Estimates (Most Used)

# Total population by state
curl -s "https://api.census.gov/data/2022/acs/acs5?get=NAME,B01001_001E&for=state:*&key=$CENSUS_API_KEY"

# Median household income by state
curl -s "https://api.census.gov/data/2022/acs/acs5?get=NAME,B19013_001E&for=state:*&key=$CENSUS_API_KEY"

# Population by county in California (state FIPS=06)
curl -s "https://api.census.gov/data/2022/acs/acs5?get=NAME,B01001_001E&for=county:*&in=state:06&key=$CENSUS_API_KEY"

# Poverty rate by state
curl -s "https://api.census.gov/data/2022/acs/acs5?get=NAME,B17001_001E,B17001_002E&for=state:*&key=$CENSUS_API_KEY"

Decennial Census

# 2020 total population by state
curl -s "https://api.census.gov/data/2020/dec/pl?get=NAME,P1_001N&for=state:*&key=$CENSUS_API_KEY"

Common Variables

VariableDescription
B01001_001ETotal population
B19013_001EMedian household income
B17001_002EPopulation below poverty
B25077_001EMedian home value
B15003_022EBachelor's degree holders
B02001_002EWhite alone population

Notes

  • Free API key required for most queries
  • ACS 5-year estimates are most reliable for small geographies
  • FIPS codes identify states (e.g., 06=CA, 36=NY, 48=TX)
  • Rate limit: 500 requests/day without key, more with key
  • Variables list: https://api.census.gov/data/2022/acs/acs5/variables.html

Related skills

FAQ

Does the census-data skill need an API key?

A free API key is required for most queries; get one at api.census.gov, then export CENSUS_API_KEY.

What data can census-data return?

ACS 5-year estimates and Decennial Census data such as population, median household income, poverty, and home value by geography.

Data Science & MLanalyticspipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.