Hcp Intelligence Mcp avatar

Hcp Intelligence Mcp

Pricing

from $50.00 / 1,000 tool calls

Go to Apify Store
Hcp Intelligence Mcp

Hcp Intelligence Mcp

Physician intelligence for pharma marketing and medical affairs. Search 350,000+ HCPs, doctors, specialists and analyze CMS industry payments, profile patient demographics, and score KOL influence.

Pricing

from $50.00 / 1,000 tool calls

Rating

0.0

(0)

Developer

MCP Pro

MCP Pro

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Share

A production-ready Model Context Protocol (MCP) server for Healthcare Provider (HCP) intelligence, built with FastMCP and Python. Deploy target: Apify.

Tools

ToolDescription
hcp_search_physiciansSearch physicians via NPPES NPI Registry
hcp_get_payment_profileRetrieve CMS Open Payments financial data
hcp_get_territory_demographicsFetch US Census ACS5 territory demographics
hcp_score_kolScore a provider as a Key Opinion Leader (KOL)

Tool Reference

hcp_search_physicians

Search for physicians in the CMS NPPES NPI Registry.

Parameters:

NameTypeRequiredDefaultDescription
namestringNoProvider name (first + last or last only)
specialtystringNoTaxonomy/specialty description
statestringNoTwo-letter state abbreviation
citystringNoCity name
limitintNo10Max results (1–200)

Returns: NPI, name, credential, specialty, practice address, phone, entity type.


hcp_get_payment_profile

Retrieve financial disclosure data from CMS Open Payments.

Parameters:

NameTypeRequiredDefaultDescription
npistringYes10-digit NPI number
yearintNo2022Program year

Returns: total payments, payment breakdown by nature, top paying companies, record count.


hcp_get_territory_demographics

Fetch demographic data from the US Census Bureau ACS5 survey.

Parameters:

NameTypeRequiredDescription
zip_codestringYes5-digit ZIP code

Variables pulled:

  • B01003_001E — Total population
  • B19013_001E — Median household income
  • B01002_001E — Median age
  • B17001_002E — Population below poverty line
  • DP03_0096PE — % with private insurance
  • DP03_0097PE — % with public insurance

Derived patient_population_tier:

PopulationIncomeTier
> 20,000> $75,000Large/Affluent
> 20,000$40,000–$75,000Large/Mixed
> 20,000< $40,000Large/Underserved
≤ 20,000> $75,000Small/Affluent
≤ 20,000$40,000–$75,000Small/Mixed
≤ 20,000< $40,000Small/Underserved

hcp_score_kol

Combines payment data and territory demographics to produce a KOL score.

Parameters:

NameTypeRequiredDefaultDescription
npistringYes10-digit NPI number
yearintNo2022Payment program year

Returns:

  • kol_score (0–100)
  • payment_tier: None / Low / Mid / High / Elite
  • patient_population_tier
  • total_payments
  • top_company
  • recommendation (narrative string)

API Keys

APIKey RequiredEnvironment Variable
NPPES NPI RegistryNo
CMS Open PaymentsNo
US Census BureauOptionalCENSUS_API_KEY

Get a free Census API key at: https://api.census.gov/data/key_signup.html


Quick Start

Local (stdio)

pip install -r requirements.txt
MCP_TRANSPORT=stdio python src/server.py

Local HTTP

pip install -r requirements.txt
python src/server.py
# Server available at http://localhost:8000
# Health check: http://localhost:8000/health

Docker

docker build -f .actor/Dockerfile -t hcp-intelligence-mcp .
docker run -p 8000:8000 -e CENSUS_API_KEY=your_key hcp-intelligence-mcp

Apify Deployment

This server is packaged as an Apify Actor.

  1. Push to your Apify account:

    $apify push
  2. Set the CENSUS_API_KEY secret in the Apify console (optional).

  3. The actor exposes an MCP-compatible HTTP endpoint at the actor's default URL.


Running Tests

pip install -r requirements.txt pytest pytest-asyncio
pytest

Health Check

GET /health
→ {"status": "ok"}

Architecture

src/
server.py # FastMCP server with all 4 tools + /health endpoint
.actor/
actor.json # Apify actor configuration
Dockerfile # Container image definition
INPUT_SCHEMA.json # Input schema for Apify
tests/
test_server.py # 25+ pytest tests
requirements.txt
pytest.ini

Data Sources


License

MIT