NitroStack Calculator MCP Server
This server provides basic arithmetic and temperature conversion capabilities.
Arithmetic calculations: Perform addition, subtraction, multiplication, and division on two numbers using the
calculatetool.Temperature conversion: Convert temperatures between Celsius and Fahrenheit using the
convert_temperaturetool, supporting both direct numeric input and file-based input (including Base64 encoded file content).
Provides tools for searching PubMed literature, retrieving article details including citation, DOI, MeSH terms, and parsed XML abstracts, and summarizing evidence for medical research.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NitroStack Calculator MCP ServerWhat is 17% of 250?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Vitalis — Clinical Intelligence MCP Server
Vitalis is an MCP server that exposes authenticated tools, resources, prompts, and widgets for clinical information workflows.
Responsible use: Vitalis provides clinical decision-support information for research and demonstration. It is not a medical device and must not replace a licensed clinician, emergency services, or local clinical policy.
Quick test queries
After connecting Vitalis to NitroStudio, MCP Inspector, Claude Desktop, or another MCP client, paste these prompts one at a time. Use the read-only API key for the first group. Use API_KEY_CLINICIAN for medication reconciliation and referral drafting.
Triage and diagnostics
Assess these example symptoms for a 35-year-old female: headache and sore throat for 24 hours, severity 3/10. Return the urgency tier, red flags, and general care timeframe.
Check whether these example symptoms match emergency red flags: slurred speech and facial drooping.
Explain what an HbA1c test measures and interpret an example value of 7.2% for educational purposes.
Map the symptom "cough" to candidate ICD-10-CM codes for documentation support. Do not diagnose the patient.Drug safety
Search RxNorm for metformin and show the matching drug names and RxCUI values.
Get FDA label information for warfarin, focusing on boxed warnings and drug interactions.
Check the available evidence for interactions between warfarin and aspirin, including the methodology caveat.
Find recent FDA adverse-event reports for ibuprofen, limited to five results.Research and trials
Search PubMed for mRNA-based therapeutics and return up to five relevant articles with citations.
Find recruiting ClinicalTrials.gov studies for type 2 diabetes and return up to five trials.
Search PubMed for peer-reviewed clinical practice guidelines for hypertension.Synthetic FHIR and care coordination
Search the synthetic FHIR server for up to five patients named Alex. Clearly label the returned records as synthetic.
Using a patient ID returned by the previous query, show that synthetic patient's conditions, medications, observations, and encounters.
Prepare an appointment checklist for a follow-up visit for hypertension.
Using a returned synthetic patient ID, generate an SBAR handoff and clearly label it as a draft based on synthetic data.
Reconcile these example medication lists: EHR list [metformin 500 mg, warfarin 5 mg] and patient-reported list [metformin 500 mg, warfarin 5 mg, ibuprofen 400 mg]. Show continued, added, removed, and possible duplicate-risk medications.
Using a returned synthetic patient ID, draft a routine endocrinology referral for example reason: "HbA1c remains elevated despite current therapy." Mark it as requiring clinician review.The patient-summary, handoff, and referral queries require a patient ID returned by the FHIR search. Do not enter real patient information. care_reconcile_medications and care_draft_referral require the clinician key and always require clinician review.
Related MCP server: NitroStack Calculator MCP Server
1. Endpoint status
No public endpoint is claimed by this repository until it has passed the authenticated verification checklist in docs/deployment.md. After deployment, publish the value as:
https://<your-deployment-domain>/mcpFor local operation, configure locally generated keys in .env and use the read-only key for normal calls. Never copy the placeholder values from .env.example into a public deployment.
2. Tools and public API
The runtime registers 32 tools with the following controller-prefixed names.
Triage (triage:read)
triage_assess_symptomstriage_check_red_flagstriage_get_care_options
Drugs (drugs:read)
drugs_searchdrugs_get_label_infodrugs_check_interactionsdrugs_get_adverse_eventsdrugs_get_recalls
Diagnostics (dx:read)
diagnostics_lookup_conditiondiagnostics_interpret_lab_valuediagnostics_explain_lab_testdiagnostics_symptom_to_codes
Research (research:read)
research_search_pubmedresearch_get_articleresearch_search_trialsresearch_get_trial_detailsresearch_summarize_evidence
FHIR (fhir:read)
fhir_search_patientsfhir_get_patientfhir_get_conditionsfhir_get_medicationsfhir_get_observationsfhir_get_encountersfhir_get_patient_summary
Care (care:read / care:write)
care_generate_handoff(care:read)care_reconcile_medications(care:write)care_draft_referral(care:write)care_find_guidelines(care:read)care_appointment_prep(care:read)
Clearly labeled stretch tools
diagnostics_lookup_icd11fhir_get_allergiesfhir_get_immunizations
Resources
vitalis://safety-policy— public safety policyvitalis://data-sources— public upstream registryvitalis://audit/recent— admin-only latest 50 audit entriesvitalis://metrics— admin-only telemetryhealth://checks— framework health-check resourcewidget://examples— framework-loaded widget examples
3. Example MCP calls
The HTTP MCP endpoint is /mcp. Headers are shown for API-key authentication; MCP clients may also pass _meta.x-api-key where supported.
{
"method": "tools/call",
"params": {
"name": "triage_assess_symptoms",
"arguments": {
"symptoms": ["chest pain", "shortness of breath"],
"age": 55,
"sex": "male"
},
"_meta": { "x-api-key": "<read-write-key>" }
}
}{
"method": "tools/call",
"params": {
"name": "drugs_check_interactions",
"arguments": {
"drugs": ["warfarin", "aspirin"]
},
"_meta": { "x-api-key": "<read-only-key>" }
}
}Successful clinical results include _safety and _meta.durationMs. FHIR and care results identify synthetic data. Errors use stable codes such as AUTH_DENIED, SCOPE_DENIED, PATIENT_NOT_FOUND, and UPSTREAM_UNAVAILABLE.
4. Architecture
MCP client / NitroStudio / Claude Desktop
│
▼
NitroStack MCP transport (/mcp)
│
Emergency guard → API/JWT auth → scope guard
│
trim pipe → tool handler → safety
│
audit event → timing/metrics → client
│
Triage · Drugs · Diagnostics · Research · FHIR · Care
│
RxNorm · RxClass · OpenFDA · PubMed · Trials · FHIR · Clinical TablesThe six widget routes are connected to their tools with @Widget and are bundled by NitroStack from src/widgets/.
5. Authentication, scopes, and rate limits
Configure credentials through environment variables only:
API_KEY_CLINICIAN=<random-key-with-read-write-care-scopes>
API_KEY_READONLY=<random-key-with-read-scopes>
API_KEY_ADMIN=<random-key-with-admin-scope>
VITALIS_ALLOW_ANONYMOUS_DEMO=false
# Optional HS256 JWT support:
# JWT_SECRET=<random-secret-at-least-16-bytes>API_KEY_READONLY: triage, drugs, diagnostics, research, and FHIR read scopes.API_KEY_CLINICIAN: read scopes pluscare:readandcare:write.API_KEY_ADMIN: explicit admin identity, wildcard tool access, andadmin:audit.Anonymous mode is disabled by default, must be explicitly enabled, and never receives care-write or admin scopes.
Unknown tools fail closed.
vitalis://audit/recentandvitalis://metricsrequire the configured admin identity.If
JWT_SECRETis set, bearer JWTs are validated as HS256 tokens with strict claims; JWTs do not inherit the API-key admin wildcard.
Default tool limits are configured per module: research and heavy drug operations are limited to 10 requests/minute, FHIR to 20/minute, local triage/diagnostics to 120/minute, and care operations according to their tool cost. These limits are per authenticated subject.
6. Clinical safety design
Every clinical tool uses the shared gateway. The safety layer:
scans nested input for emergency terms using escaped, case-insensitive word-boundary matching;
never blocks a request merely because emergency terms are present;
rewrites banned overreach such as “you have”/“diagnosis confirmed” and prescriptive dosing language;
adds a disclaimer, urgency tier, and red-flag metadata;
prepends emergency guidance when a red flag is detected;
marks FHIR and care output as synthetic data.
The embedded triage ruleset contains 30 validated rules. Missing or malformed safety data refuses startup. VITALIS_SAFETY_LAYER=off is test-only; outside NODE_ENV=test it is ignored and logged loudly.
7. Data sources and terms
Source | Use | Policy |
NLM RxNorm/RxClass | Drug names, RxCUI, classes | Public API; concurrency capped |
OpenFDA | Labels, FAERS, recalls | FDA terms and reporting-bias caveats apply |
NCBI PubMed | Search, citations, XML abstracts | NCBI |
ClinicalTrials.gov v2 | Trial search/details | Public API; bounded requests |
HAPI FHIR R4 / SMART fallback | Synthetic FHIR records | Synthetic/Synthea data only |
NLM Clinical Tables | ICD-10-CM lookup | Public documentation-support service |
WHO ICD-11 (optional) | Optional classification lookup | Requires configured OAuth credentials; embedded fallback is labeled reference data |
Respect each provider’s current terms, rate limits, attribution requirements, and availability. Upstream content is not a clinical recommendation.
8. Local setup
Prerequisites
Node.js 18 or newer
npm
git clone https://github.com/anshux1/health-care-mcp.git
cd health-care-mcp
npm ci
npm --prefix src/widgets ci
cp .env.example .env
# Replace every credential placeholder with local valuesDevelopment defaults to stdio. HTTP mode can be selected explicitly:
NODE_ENV=development
MCP_TRANSPORT_TYPE=http
HOST=127.0.0.1
PORT=3000Commands:
npm run dev # NitroStack development server
npm run typecheck # TypeScript check
npm test # Unit + integration tests
npm run test:coverage # Coverage gate and HTML/JSON reports
npm run widget:build # Standalone Next.js widget build
npm run build # Server + widget production bundle
npm run verify # All default non-live gatesLive upstream tests are opt-in:
npm run test:live # Requires network; sets LIVE_API_TESTS=true
npm run fixtures:record # Explicitly capture sanitized public fixtures9. Deployment
The primary documented target is Railway. See docs/deployment.md for build/start commands, environment configuration, MCP endpoint setup, verification, audit storage, rollback, and the local stdio fallback.
At minimum, production must set NODE_ENV=production, MCP_TRANSPORT_TYPE=http, HOST=0.0.0.0, PORT from the platform, CONTACT_EMAIL, NCBI_EMAIL, and at least one API key or JWT secret. Do not put secrets in Git or .env.example.
10. Limitations and responsible use
Vitalis does not diagnose, prescribe, or replace a clinician.
Emergency guidance is generic; users should contact local emergency services.
FHIR data is synthetic and must never be interpreted as real PHI.
FDA interaction detection is evidence cross-scanning, not a complete interaction database.
FAERS counts are voluntary reports, not incidence rates or proof of causation.
Public upstreams can be incomplete, rate-limited, or unavailable; partial/fallback status is surfaced.
JWT support is optional HS256 infrastructure, not a hosted identity provider.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseBqualityCmaintenanceMinimal calculator-focused MCP server with tools, resources, and prompts using TypeScript and Zod validation.2
- FlicenseNot gradedqualityCmaintenanceA minimal MCP server template for learning NitroStack fundamentals, featuring a calculator module with tools, resources, and prompts.
- FlicenseCqualityCmaintenanceA minimal MCP server template for learning NitroStack fundamentals, featuring a calculator module with tools, resources, and prompts.9
- AlicenseNot gradedqualityCmaintenanceThis template enables learning NitroStack fundamentals with a calculator-focused MCP server that supports tools, resources, and prompts. It includes TypeScript and Zod validation for building MCP servers.3581MIT
Related MCP Connectors
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/anshux1/health-care-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server