Health Claims MCP Server

Sample MCP server for the health insurance claims domain.

README.md

Health Claims FastMCP (Mock)

Sample MCP server for the health insurance claims domain. This server uses FastMCP and exposes multiple mock tools for claims, benefits, providers, and prior authorizations. All data is synthetic and for demo use only.

Setup

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Run (stdio)

python server.py

Run (streamable HTTP)

FastMCP supports streamable-http and sse transports. Use env vars to switch transport and control host/port.

export MCP_TRANSPORT=streamable-http
export FASTMCP_HOST=127.0.0.1
export FASTMCP_PORT=8000
python server.py

The Streamable HTTP endpoint defaults to:

http://127.0.0.1:8000/mcp

You can override it via FASTMCP_STREAMABLE_HTTP_PATH.

export FASTMCP_STREAMABLE_HTTP_PATH=/mcp

Tools

  • list_member_claims
  • get_claim_detail
  • get_member_benefits
  • estimate_member_responsibility
  • search_providers
  • create_prior_authorization
  • get_prior_authorization_status
  • submit_claim_inquiry

MCP Inspector (start/stop)

Install and run via npm scripts:

npm install
npm start

Notes

  • The server uses FastMCP (mcp.server.fastmcp.FastMCP) with @mcp.tool() decorators as described in the MCP build-server docs.
  • The mock logic is deterministic and in-memory; no external calls or PHI.

Tools 8

list_member_claimsLists all claims associated with a specific member.
get_claim_detailRetrieves detailed information for a specific claim.
get_member_benefitsFetches benefit information for a specific member.
estimate_member_responsibilityCalculates the estimated financial responsibility for a member.
search_providersSearches for healthcare providers based on criteria.
create_prior_authorizationSubmits a request for prior authorization.
get_prior_authorization_statusChecks the status of a prior authorization request.
submit_claim_inquirySubmits an inquiry regarding a specific claim.

Environment Variables

MCP_TRANSPORTSets the transport protocol (e.g., streamable-http).
FASTMCP_HOSTHost address for the server.
FASTMCP_PORTPort number for the server.
FASTMCP_STREAMABLE_HTTP_PATHPath for the streamable HTTP endpoint.

Try it

List all recent claims for member ID 12345.
What are the current benefits for member 98765?
Search for primary care providers in the 90210 area.
Check the status of my prior authorization request #PA-5544.
Estimate the member responsibility for a standard office visit.

Frequently Asked Questions

What are the key features of Health Claims MCP Server?

Provides a mock interface for health insurance operations.. Supports claims processing and benefit inquiries.. Enables provider search functionality.. Handles prior authorization requests and status checks.. Uses synthetic data for safe testing of healthcare workflows..

What can I use Health Claims MCP Server for?

Testing healthcare-related AI agent workflows.. Developing insurance claim processing automation tools.. Simulating provider search and benefit verification scenarios.. Validating prior authorization request logic in a sandbox environment..

How do I install Health Claims MCP Server?

Install Health Claims MCP Server by running: python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt

What MCP clients work with Health Claims MCP Server?

Health Claims MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Health Claims MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Open Conare