# HRSA NHSC & NURSE Corps Clinician Workforce Site Monitor (`malonestar/hrsa-clinician-workforce-monitor`) Actor

HRSA workforce site scraper: pull NHSC, NURSE Corps & STAR loan-repayment-eligible clinical sites (FQHCs, RHCs, mental-health) with HPSA shortage scores, phone, email, address, county FIPS & geo. Filter by state, program, site type or HPSA score. Clinician-recruiting leads + state/program rollup.

- **URL**: https://apify.com/malonestar/hrsa-clinician-workforce-monitor.md
- **Developed by:** [Kyle Maloney](https://apify.com/malonestar) (community)
- **Categories:** Lead generation, Developer tools, MCP servers
- **Stats:** 1 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.85 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## HRSA NHSC & NURSE Corps Clinician Workforce Site Monitor

Pull the official list of **HRSA-approved clinical sites** eligible for federal
loan-repayment and scholarship programs — **NHSC** (National Health Service
Corps), **NURSE Corps**, and **STAR LRP** — as clean, structured rows. Every
site comes with its **type, approval status, HPSA shortage scores, phone, email,
full address, county FIPS, congressional district, and lat/lon**, plus an
optional **state / program / site-type rollup**.

Data source: HRSA Bureau of Health Workforce public ArcGIS server
(`gisportal.hrsa.gov` → `BHW/BHW_Sites`). Keyless, public, refreshed by HRSA.

### Who it's for
- **Clinician & locum staffing agencies** — NHSC/NURSE Corps sites are
  loan-repayment-eligible *employers*: warm recruiting leads for physicians, NPs,
  PAs, dentists, and behavioral-health clinicians who want their loans paid.
- **Health-workforce planners & researchers** — model provider supply, shortage
  (HPSA) exposure, and rural access by state, county, or congressional district.
- **FQHC / RHC vendors & GPOs** — a targeted list of safety-net facilities with
  contact info for outreach.
- **Grant writers & policy teams** — quantify program footprint and shortage
  severity across geographies.

### Example input
```json
{
  "state": "California",
  "program": "NHSC",
  "siteType": "FQHC",
  "ruralOnly": false,
  "minHpsaScore": 15,
  "includeSummary": true,
  "maxResults": 5000
}
````

Leave everything blank to pull **all NHSC sites nationwide**. Set `program` to
`NurseCorps` or `STAR` for those program lists. `state` accepts a full name
("California") or a 2-letter code ("CA", "PR", "GU").

### Output fields

One row per site (`record_type: "site"`): `site_id`, `site_name`, `program`,
`site_type`, `site_status`, cross-program flags (`nhsc_*`, `nursecorps_*`,
`star_*`), `address`, `city`, `county`, `county_fips`, `state`, `state_abbrev`,
`zip`, `phone`, `fax`, `email`, `hpsa_primary_care`, `hpsa_dental`,
`hpsa_mental_health`, `rural_status`, `region`, `cong_district_code`,
`cong_district_name`, `census_tract`, `latitude`, `longitude`.

With `includeSummary: true`, one extra `record_type: "summary"` row is appended
with `total_sites`, `sites_with_email`, `sites_with_phone`, `rural_sites`, and
counts `by_state`, `by_site_type`, and `by_site_status`.

### Use as an MCP tool

This Actor is callable by AI agents (Claude, Cursor, etc.) via
[mcp.apify.com](https://mcp.apify.com). The field-level output descriptions make
it a clean, chainable tool — e.g. "list active NHSC FQHC sites in Texas with a
primary-care HPSA score above 18 and return their phone and email."

### FAQ

**Where does the data come from?** HRSA's public Bureau of Health Workforce
ArcGIS service (`BHW/BHW_Sites`). No API key required.

**What's the difference between NHSC, NURSE Corps, and STAR?** They are three
HRSA loan-repayment/scholarship programs; each has its own list of approved
sites. Pick one via the `program` input. Each returned row also carries the
other programs' type/status flags so you can cross-reference.

**What is an HPSA score?** A Health Professional Shortage Area score (0-26)
rates how severe the provider shortage is at that location — higher means more
underserved and higher loan-repayment priority. Filter with `minHpsaScore`.

**How do I get a downloadable clinician-recruiting lead list?** Filter by
`state` and `siteType`, run, then export the dataset as CSV/Excel/JSON.

**Does it cover territories?** Yes — Puerto Rico, Guam, and the US Virgin
Islands appear when present in HRSA's data.

### Notes & caveats

- Coverage = whatever HRSA currently publishes in `BHW/BHW_Sites`; site rosters
  change as programs re-approve sites.
- This layer does not expose a per-site "date added" field, so the Actor ships a
  program/state/type/status **rollup** rather than a date-based new-since delta.
  For change tracking, schedule the Actor and diff dataset snapshots on `site_id`.
- Email is only present when HRSA publishes it (not every site).

# Actor input Schema

## `state` (type: `string`):

Filter sites by US state. Accepts a full name (e.g. "California") or a 2-letter code (e.g. "CA"). Also works for territories (PR, GU, VI). Leave blank for all states/territories.

## `program` (type: `string`):

Which HRSA Bureau of Health Workforce program's approved-site list to pull. NHSC = National Health Service Corps, NurseCorps = NURSE Corps Loan Repayment, STAR = Substance Use Disorder Treatment and Recovery.

## `siteType` (type: `string`):

Optional case-insensitive substring filter on the site type (e.g. "FQHC", "Rural Health Clinic", "Community Mental Health", "Indian Health"). Leave blank for all site types.

## `siteStatus` (type: `string`):

Optional exact filter on site status (e.g. "Active"). Leave blank for all statuses.

## `ruralOnly` (type: `boolean`):

If enabled, return only sites flagged Rural by HRSA.

## `minHpsaScore` (type: `integer`):

Optional minimum Health Professional Shortage Area (primary care) score, 0-26. Higher scores = greater shortage = higher loan-repayment priority. Leave blank for no minimum.

## `includeSummary` (type: `boolean`):

If enabled, append one extra summary row with site counts by state, site type, and status plus contactability totals.

## `maxResults` (type: `integer`):

Maximum number of site rows to return.

## Actor input object example

```json
{
  "state": "California",
  "program": "NHSC",
  "ruralOnly": false,
  "includeSummary": false,
  "maxResults": 5000
}
```

# Actor output Schema

## `results` (type: `string`):

The default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "state": "California",
    "program": "NHSC"
};

// Run the Actor and wait for it to finish
const run = await client.actor("malonestar/hrsa-clinician-workforce-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "state": "California",
    "program": "NHSC",
}

# Run the Actor and wait for it to finish
run = client.actor("malonestar/hrsa-clinician-workforce-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "state": "California",
  "program": "NHSC"
}' |
apify call malonestar/hrsa-clinician-workforce-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=malonestar/hrsa-clinician-workforce-monitor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "HRSA NHSC & NURSE Corps Clinician Workforce Site Monitor",
        "description": "HRSA workforce site scraper: pull NHSC, NURSE Corps & STAR loan-repayment-eligible clinical sites (FQHCs, RHCs, mental-health) with HPSA shortage scores, phone, email, address, county FIPS & geo. Filter by state, program, site type or HPSA score. Clinician-recruiting leads + state/program rollup.",
        "version": "1.0",
        "x-build-id": "KoiblR6NBbkyPgTVe"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/malonestar~hrsa-clinician-workforce-monitor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-malonestar-hrsa-clinician-workforce-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/malonestar~hrsa-clinician-workforce-monitor/runs": {
            "post": {
                "operationId": "runs-sync-malonestar-hrsa-clinician-workforce-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/malonestar~hrsa-clinician-workforce-monitor/run-sync": {
            "post": {
                "operationId": "run-sync-malonestar-hrsa-clinician-workforce-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "state": {
                        "title": "State",
                        "type": "string",
                        "description": "Filter sites by US state. Accepts a full name (e.g. \"California\") or a 2-letter code (e.g. \"CA\"). Also works for territories (PR, GU, VI). Leave blank for all states/territories."
                    },
                    "program": {
                        "title": "Program",
                        "enum": [
                            "NHSC",
                            "NurseCorps",
                            "STAR"
                        ],
                        "type": "string",
                        "description": "Which HRSA Bureau of Health Workforce program's approved-site list to pull. NHSC = National Health Service Corps, NurseCorps = NURSE Corps Loan Repayment, STAR = Substance Use Disorder Treatment and Recovery.",
                        "default": "NHSC"
                    },
                    "siteType": {
                        "title": "Site type contains",
                        "type": "string",
                        "description": "Optional case-insensitive substring filter on the site type (e.g. \"FQHC\", \"Rural Health Clinic\", \"Community Mental Health\", \"Indian Health\"). Leave blank for all site types."
                    },
                    "siteStatus": {
                        "title": "Site status",
                        "type": "string",
                        "description": "Optional exact filter on site status (e.g. \"Active\"). Leave blank for all statuses."
                    },
                    "ruralOnly": {
                        "title": "Rural sites only",
                        "type": "boolean",
                        "description": "If enabled, return only sites flagged Rural by HRSA.",
                        "default": false
                    },
                    "minHpsaScore": {
                        "title": "Minimum primary-care HPSA score",
                        "minimum": 0,
                        "maximum": 26,
                        "type": "integer",
                        "description": "Optional minimum Health Professional Shortage Area (primary care) score, 0-26. Higher scores = greater shortage = higher loan-repayment priority. Leave blank for no minimum."
                    },
                    "includeSummary": {
                        "title": "Include rollup summary row",
                        "type": "boolean",
                        "description": "If enabled, append one extra summary row with site counts by state, site type, and status plus contactability totals.",
                        "default": false
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Maximum number of site rows to return.",
                        "default": 5000
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
