ONS Baby Names API MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ONS Baby Names API — MCP Server
An MCP (Model Context Protocol) server that exposes England & Wales baby names data from the ONS birth registration dataset, deployable to Vercel.
Once deployed, you can connect Claude (or any MCP-compatible client) to ask questions like:
"What were the top baby names in 2024?"
"How has the popularity of Oliver changed over time?"
"What names are similar to Olivia for girls?"
"Which area had the most babies called Alfie in 2024?"
Tools
Tool | Description |
| Available years and geography years in the dataset |
| Full list of registered names (all / boys / girls) with slugs |
| Search names by substring |
| All names and counts for a given year |
| Ranked top N names for a given year |
| Full time-series (count + rank per year) for a single name |
| Regional breakdown by local authority area |
| Names with similar popularity trajectories |
| Diagnostic check |
Related MCP server: mcp-uk-ons
Deploy to Vercel
Fork or clone this repo
Import it in Vercel
Deploy — no build configuration needed
The MCP endpoint will be available at:
https://<your-vercel-url>/mcpOptional environment variable
Variable | Default | Description |
|
| Override the upstream API base URL |
Connect to Claude
In Claude's settings, add a new MCP server with the URL:
https://<your-vercel-url>/mcpLocal development
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.pyThe server will start on http://localhost:8000/mcp.
Data source
Data is served from baby-names-api.netlify.app, generated from ONS birth registration statistics for England & Wales. Source code: henryjameslau/baby-names-api.
Related MCP Connectors
Harness the power of names with our Name Demographics MCP. Using Agify, Genderize, and Nationalize
Read-only access to Namesake's baby name catalog: meaning, origin, pronunciation, popularity trend.
Nationalize MCP — nationality prediction from first name (nationalize.io, free, no auth)
Query UK Parliament, elections, crime stats, ONS census data, and national archives
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables access to official UK Office for National Statistics data including demographics, economics, and social statistics through the ONS Beta API. Supports browsing, searching, and querying datasets with built-in shortcuts for popular statistics like inflation, regional GDP, and wellbeing data.58 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying UK Office for National Statistics datasets and their editions through natural language, with no authentication required.271 npmMIT
- AlicenseAqualityDmaintenanceEnables AI assistants to query NHS public health datasets, including prescribing data, dataset exploration, and organisation lookup via the NHSBSA Open Data Portal.9MIT
- AlicenseAqualityCmaintenanceUK planning application data for AI agents. Search, look up, and geo-query every UK planning application from Claude, Cursor, or any MCP client — conversationally.446 npmMIT