Skip to main content
Glama
ONSdigital

ONS Baby Names API MCP Server

Official
by ONSdigital

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

Related MCP server: satudata-ngawi

Deploy to Vercel

  1. Fork or clone this repo

  2. Import it in Vercel

  3. 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.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An unofficial MCP server providing access to Dutch government open data from data.overheid.nl, CBS statistics, and KVK business registry. Enables natural language queries for discovering datasets, inspecting metadata, and querying data without API keys or authentication.
    Last updated
    14
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for accessing Indonesian local government data from Satu Data Ngawi. Enables querying datasets, organizations, categories, and statistics through natural language.
    Last updated
    12
    MIT
  • F
    license
    -
    quality
    B
    maintenance
    MCP server exposing the full UK Companies House Public Data API, enabling natural language queries for company profiles, search, officers, filing history, charges, insolvency, and persons with significant control, as well as downloading and reading PDF documents.
    Last updated
  • A
    license
    -
    quality
    A
    maintenance
    A research MCP server for UK geospatial and statistical data, enabling AI assistants to query Ordnance Survey and ONS datasets.
    Last updated
    3
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ONSdigital/ons-baby-names-api-mcp-2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server