US baby name popularity data from SSA records (1880-2025): search, trends, geography, culture.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Is your name going extinct? nobodynamed shows the popularity, trajectory, and vital status of any American name since 1880, based on Social Security Administration data.
| Layer | Service |
|---|---|
| Frontend + API | Cloudflare Pages + Pages Functions |
| Database | Cloudflare D1 (SQLite) |
| Annual data refresh | Cloudflare Worker (Cron Trigger + Queues) |
| Archive storage | Cloudflare R2 |
Reads the existing viz/name-vitals/data/ JSON shards to populate D1 without pulling from the SSA:
The ingest Worker runs weekly (ETag-gated; exits immediately if the SSA zip is unchanged). The SSA publishes new data once a year, typically in May. Manual trigger:
Required for the CI/CD workflows in .github/workflows/:
| Secret | Value |
|---|---|
CLOUDFLARE_API_TOKEN | Token with Workers, Pages, and D1 write permissions |
CLOUDFLARE_ACCOUNT_ID | Your Cloudflare account ID |
After verifying parity on the Pages preview URL:
index.html from /babynames/viz/name-vitals/* to the new host.viz/, dicts/, extra/, and any remaining legacy files.Source data is CC0 (Social Security Administration). Code is MIT.
##Setup
This is a Node.js script, so you should consider downloading Node before attempting to run it.
To download the repo, simply clone it:
Then install the dependencies:
##Data
First, you need to get the raw data from the Social Security Administration. This script will download and unzip it for you with the following command:
###Total babies born each year
There is also a file called extra/totals.json with data on the total number of babies born (or at least, those issued a SSN) each year, per the SSA. This is useful because the totals are higher than the sum of each name in the name files, which don't include names that occur fewer than five times.
If you want to re-download the data--maybe it's a new year or you suspect there has been a revision--just run ./scripts/total_births.js, which will scrape the page on the SSA website and overwrite the file in the repo.
###Baby names
The Social Security Administration organizes the baby name data, somewhat inconveniently, as year-by-year text files named yob[year].txt. The above command extracts those files to a local directory named data/ and then deletes the zip file it downloaded. If you want to keep that zip file for some reason, just pass --cache to the command.
Once that's done, you can aggregate the data to a per-name basis and store it in a variety of formats:
First, the script reads every file and stores the data on a per-name basis in memory. For each name, it records both the absolute number of babies with that name in a given year and the percentage of all babies of the same gender with that name. The denominator in that calculation is the gender-specific total number of babies as reported on SSA.gov, NOT the calculated sum of all baby name frequencies (which will be lower than the actual number of children born in the United States, given that the data only counts names that appear at least five times). The years are stored as keys in an object for fast retrieval:
###Formats
Your choices are:
json: Each name is stored as an individual JSON file in the /flat/individual/ directory.jsonp: Each name is stored as an individual JSON-P file in the /flat/individual/ directory. It is wrapped in a callback function named ticallback by default, which you can override with opts.callback.csvs: Each name is stored as an individual CSV file in the /flat/individual/ directory.csv: All names are packaged into one CSV file and stored in /flat/names.csv/. This file will be able 30MB if you don't include limiting specifications (below). This preprocessed file is included in this repo.mongodb: All names are inserted into a MongoDB instance. You are responsible for running a Mongo server at localhost:27017 or updating the source to point to your instance. Note: Because this is optional, the mongodb Node module is not listed as a dependency, you you'll need to install it yourself.##Reducing the size As of 2013, there are 102,691 names that show up in at least one year at least five times. Many users will not be interested in this volume of data. There are several ways to reduce the scope with command line options.
###Limit the years
start: Don't retrieve years before this year. Ex: --start=1950. Default is 1880, the first year of the data.end: Don't retrieve years after this year. Ex: --end=2000. Default is the present year.###Exclude uncommon names
min: Don't include names that don't show up at least this many time in at least one year. Ex: --min=25. Default is 0.cutoff: Don't include names that don't show up in at least this many individual years. Ex: --cutoff=50. Default is 0.##Analysis
The script comes with several options for basic analysis:
normalize: Add a third property to each name that is the normalized value for the percentage figures, such that the peak percentage year is 1.peaks: Find the peak value and year for both raw values and percentsmaxima: Identify all the local maxima -- points where every value 5 years before and after is lower. Only counts maxima that are at least 25 percent of peak value.pronunications: See if the name is listed in the CMU Pronouncing Dictionary. Require that you npm install cmudict manually.dense: If a name does not appear in a year in the range specified between start and end, list that year in the data as 0. Otherwise it is not included at all (a "sparse" format).##Types
For csv outputs, you can get the data back as either raw numbers of new babies each year with a given name (--type=values, which is the default) or as a percent (--type=values). JSON formats return both percents and values.
##Phonemes
You can also pass a special type, --type=phonemes, to get back a JSON document of phoneme percents for each year for all names. By default, the script examines the first phoneme in each name. You can use --N==TK to aggregate around the TKth phonemes in the name. Use a negative value to start from the end.
##Extras We've now got British baby names going back to 1996, accessed on Oct. 5, 2016 from the U.K. Office for National Statistics. The total number of live births was downloaded here from the same source.
##License
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/nobodynamed)<a href="https://allmcps.com/mcp/nobodynamed"><img src="https://allmcps.com/api/badge/nobodynamed?style=directory" alt="NobodyNamed on AllMCPs" /></a>