# Healthdata

> Healthdata is a freemium MCP server for health and science. Search and read US HealthData.gov public health datasets from an MCP client, keyless. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Web, self-hosted
- **Website:** https://pipeworx.io/packs/healthdata
- **Repository:** https://github.com/pipeworx-io/mcp-healthdata
- **MCP Registry name:** io.github.pipeworx-io/healthdata
- **Categories:** [health and science](https://ai-powered.com/categories/health-and-science)
- **Listing updated:** 2026-11-18

## About

The server gives an AI client three ways into HealthData.gov: keyword search across public-health datasets, a metadata lookup for a single dataset by its Socrata identifier, and a row reader that accepts SoQL filter and sort clauses. The README notes that HealthData.gov moved off CKAN, so older package slugs will not resolve and a fresh search is needed to obtain the current four-by-four id.

The server is hosted by Pipeworx as a gateway endpoint and is also available as a local npm stdio bridge that forwards calls to the same URL. Anonymous use is capped daily, and an optional Pipeworx API key raises the limit, with calls metered under the Pipeworx rate card.

It suits analysts, researchers and developers who want an assistant to locate and pull government health statistics such as hospitalisation, Medicare spending or prescription data without writing their own API client.

## Features

- **Keyword dataset search:** Finds HealthData.gov datasets by topic and returns titles, agencies, tags and last update dates.
- **Dataset metadata lookup:** Returns licence, owning agency, column types and row counts for a dataset by its Socrata id.
- **Filtered row retrieval:** Reads rows from a dataset with optional SoQL where and order clauses.
- **Keyless anonymous access:** Works without an account, with a daily call cap that a free Pipeworx key raises.
- **Multiple connection options:** Can be reached through a remote streamable HTTP endpoint or a local npx stdio bridge.

## Good for

- Finding federal datasets on hospitalisations or prescription trends for a research question
- Checking the columns and licence of a health dataset before downloading or analysing it
- Pulling filtered state-level rows from a public health dataset into an AI assistant session
- Prototyping a health data lookup feature without building a Socrata API integration

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http healthdata https://gateway.pipeworx.io/healthdata/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/healthdata/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "healthdata": {
      "url": "https://gateway.pipeworx.io/healthdata/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "healthdata": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/healthdata/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "healthdata": {
      "serverUrl": "https://gateway.pipeworx.io/healthdata/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "healthdata": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/healthdata/mcp"
    }
  }
}
```

## Tools

- `search_datasets`: Search HealthData.gov for public-health datasets by keyword, returning Socrata ids and metadata.
- `get_dataset`: Full metadata for one HealthData.gov dataset by its Socrata id, including columns and licence.
- `get_rows`: Read rows from a HealthData.gov dataset with optional SoQL where and order clauses.

## FAQ

### Does it require an API key?

No. The registry entry says it is keyless. Anonymous calls are capped daily, and an optional Pipeworx API key raises the cap.

### Why do old dataset IDs fail?

The README says HealthData.gov migrated off CKAN, so old CKAN package ids or slugs will not resolve. Search again to get the current four-by-four Socrata id.

### Does get_rows return a download link?

No. The README states that get_rows returns the data itself rather than a download link.

### Is Healthdata free?

Healthdata has a free plan, with paid plans for more usage or features.

### How do I add Healthdata to Claude Code?

Run this command in your terminal: claude mcp add --transport http healthdata https://gateway.pipeworx.io/healthdata/mcp

### What are the best alternatives to Healthdata?

The closest alternatives to Healthdata are ClinX open data: 340B and health centers, Particle Health MCP by usefulapi, Health Feeds, Health Gorilla MCP by usefulapi and Npi Registry.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [ClinX open data: 340B and health centers](https://ai-powered.com/mcp/clinx-open-data-340b-and-health-centers): ClinX open data: 340B and health centers is an open-source MCP server for health and science.
- [Particle Health MCP by usefulapi](https://ai-powered.com/mcp/particle-health-mcp-by-usefulapi): Particle Health MCP by usefulapi is a freemium MCP server for health and science.
- [Health Feeds](https://ai-powered.com/mcp/health-feeds): Health Feeds is a freemium MCP server for health and science.
- [Health Gorilla MCP by usefulapi](https://ai-powered.com/mcp/health-gorilla-mcp-by-usefulapi): Health Gorilla MCP by usefulapi is a freemium MCP server for health and science.
- [Npi Registry](https://ai-powered.com/mcp/npi-registry): Npi Registry is a freemium MCP server for health and science.
- [Photon Health MCP by usefulapi](https://ai-powered.com/mcp/photon-health-mcp-by-usefulapi): Photon Health MCP by usefulapi is a freemium MCP server for health and science.
- [Gdc](https://ai-powered.com/mcp/gdc): Gdc is a freemium MCP server for health and science.
- [MedicineData MCP](https://ai-powered.com/mcp/medicinedata-mcp): MedicineData MCP is a freemium MCP server for health and science.

---
Source: https://ai-powered.com/mcp/healthdata
