ONS Baby Names API MCP Server
Enables querying England & Wales baby names data from ONS birth registrations, including top names, popularity trends, geographic breakdowns, and similar names.
README
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 |
|---|---|
get_meta |
Available years and geography years in the dataset |
get_names |
Full list of registered names (all / boys / girls) with slugs |
search_names |
Search names by substring |
get_year_data |
All names and counts for a given year |
get_top_names |
Ranked top N names for a given year |
get_name_data |
Full time-series (count + rank per year) for a single name |
get_geographic_data |
Regional breakdown by local authority area |
get_similar_names |
Names with similar popularity trajectories |
health |
Diagnostic check |
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>/mcp
Optional environment variable
| Variable | Default | Description |
|---|---|---|
BABY_NAMES_BASE_URL |
https://baby-names-api.netlify.app |
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>/mcp
Local development
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py
The 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.