# NYC Health & Water Quality AI Agent Connect

> NYC Health & Water Quality MCP provides your AI client with immediate access to New York City's public health and water datasets. You can pull seasonal flu vaccination locations, mortality statistics from 2007 to 2021, and water quality monitoring results for Cryptosporidium and Giardia. It eliminates the need for manual API management or complex queries, letting your agent handle data retrieval for health research and water monitoring tasks.

## Overview
- **Category:** government-public-data
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_TOVwTByJfyChe2eXj8IrDhAs0zlwxrykdyjdu22K/ai-agent-connect
- **Tags:** new-york, nyc, health, flu, causes-of-death, water-quality, health-centers, consumption

## Description

You can query New York City's public health and water records without managing API keys or complex authentication. This MCP connects your AI client to official NYC Open Data, allowing you to pull specific datasets for research, planning, or monitoring. 

If you are analyzing public health trends, you can pull mortality data broken down by year, sex, and race. For those focused on environmental safety, the MCP provides water quality samples including chlorine levels, turbidity, and coliform counts. You can also track annual water consumption trends or locate DOHMH community health centers. Because water quality datasets are large, the tools default to a 365-day window to keep your queries fast and relevant. This makes it a reliable way to feed real-world NYC health and environmental data into your agent's context for analysis or reporting.

## Tools

### get_water_consumption_trends
This tool provides NYC annual water consumption trends. It returns a table showing city population, total daily consumption, and per-capita usage.

### list_flu_vaccination_sites
This tool lists seasonal NYC flu vaccination locations. You can filter the results by borough, walk-in availability, insurance types, or if they serve children.

### list_health_centers
This tool finds NYC DOHMH community health centers. It provides details on hours, languages spoken, and whether they accept walk-ins.

### search_cryptosporidium_giardia
This tool searches DEP water-quality monitoring results for Cryptosporidium and Giardia. It uses a 365-day window by default to manage the large dataset.

### search_drinking_water_quality
This tool retrieves NYC drinking water distribution samples. You can narrow your search by specific sample sites or water class.

### search_leading_causes_of_death
This tool accesses historical NYC mortality data from 2007 to 2021. You can filter by year, sex, race, or specific causes of death.

## Prompt Examples

**Prompt:** 
```
Find flu vaccination sites in Manhattan that accept walk-ins.
```

**Response:** 
```
The list_flu_vaccination_sites tool returns seasonal locations in Manhattan that allow walk-ins.
```

**Prompt:** 
```
What were the leading causes of death in NYC in 2021?
```

**Response:** 
```
Using search_leading_causes_of_death for the year 2021 provides the death rates and age-adjusted rates broken down by sex and race/ethnicity.
```

**Prompt:** 
```
Show the per-capita water consumption trend in New York City.
```

**Response:** 
```
The get_water_consumption_trends tool provides a yearly breakdown of population and per-capita water usage in NYC.
```

## Capabilities

### Public Health Research
Your agent uses mortality and vaccination data to identify community health trends.

### Water Quality Monitoring
The AI client pulls real-time water samples and pathogen monitoring results.

### Resource Locating
Your agent finds specific health centers or vaccination sites based on user needs.

### Consumption Analysis
The AI client tracks annual water usage trends and per-capita metrics.

## Use Cases

### Epidemiological Studies
An analyst uses the mortality data to study death rate trends across different demographics from 2007 to 2021.

### Water Safety Audits
A researcher checks recent Cryptosporidium and Giardia monitoring results to verify water safety.

### Community Resource Mapping
A planner identifies all DOHMH health centers in a specific borough that offer certain languages.

### Infrastructure Planning
An engineer analyzes annual water consumption trends to project future city needs.

## Benefits

- Eliminates the need for manual API key management.
- Provides direct access to official NYC Open Data.
- Uses a 365-day window for water quality to ensure fast responses.
- Supports filtering by borough, race, sex, and more.

## How It Works

Connecting to this MCP gives your AI client immediate access to NYC's public datasets.

1. Connect your MCP-compatible client to Vinkius.
2. Select the NYC Health & Water Quality MCP from the catalog.
3. Ask your agent a specific question about NYC health or water data.
4. The agent invokes the appropriate tool to fetch the data.
5. The data is returned directly to your chat interface for analysis.

## Frequently Asked Questions

**Do I need an API key to use this NYC data?**
No. This MCP provides keyless access to the NYC Open Data used by these tools.

**How recent is the mortality data?**
The leading causes of death dataset covers the years 2007 through 2021.

**How do I find flu shots in a specific borough?**
You can ask your agent to list flu vaccination sites and specify the borough, such as Manhattan or Brooklyn.

**Is there a limit on how much water quality data I can pull?**
To keep queries efficient, water quality searches default to a 365-day window.

**Which AI clients can use this MCP?**
You can use this with any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

**Do I need an API key?**
No. NYC Open Data serves all public datasets anonymously over its SODA API (data.cityofnewyork.us). This MCP defines no credentials and needs nothing configured.

**How current is the water quality data?**
Distribution monitoring samples have run since 2015, so the search tools apply a 365-day sample-date window by default; pass after (and optionally an earlier before boundary) to widen or shift it. The annual water-consumption table is small — a few dozen rows, one per year.

**What years do the causes-of-death statistics cover?**
Years 2007–2021, broken down by sex and race/ethnicity. search_leading_causes_of_death filters by year, cause (partial match), sex or race/ethnicity and returns deaths, death rate and the age-adjusted death rate.
