Starfile
US public records: nursing-home inspections, FDA and CPSC recalls, trials, FAA aircraft, tariffs.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"starfile": {
"url": "https://starfile.org/mcp"
}
}
}Remote endpoints
https://starfile.org/mcpstreamable-httpWhat it can do
Tool inventory
Tools (11)
π’check_nursing_home(name, ccn, state, city)
The inspection and penalty record of one U.S. nursing home from CMS data: star ratings, staffing, fines and payment denials, how many inspection citations it has (and how many at the actual-harm or immediate-jeopardy level), its most recent citations with dates, its chain and its owner organisations. Find it by CCN (6-character CMS number) or by name plus state or city. Returns other close matches when a name is ambiguous.
Input Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Facility name, e.g. \"Pinecrest Example Care Center\"."
},
"ccn": {
"type": "string",
"description": "CMS Certification Number: 6 characters, the two-digit state code then four digits."
},
"state": {
"type": "string",
"description": "U.S. state as a two-letter code (NY) or full name (New York)."
},
"city": {
"type": "string",
"description": "City, to narrow a name match."
}
}
}π’search_nursing_homes(query, city, state, limit)
List Medicare and Medicaid certified nursing homes by name, city or state, highest CMS overall rating first, with each home's rating, beds, special-focus status and abuse flag. Use check_nursing_home for one home's full record.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Name or part of a name (optional)."
},
"city": {
"type": "string"
},
"state": {
"type": "string",
"description": "U.S. state as a two-letter code (NY) or full name (New York)."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Max results (default 10, max 25)."
}
}
}π’search_recalls(query, firm, type, since, until, ...)
Search U.S. recalls by product words and/or company: FDA food, drug and medical-device recalls (enforcement reports) and CPSC consumer-product recalls and NHTSA vehicle, equipment, tire and child-seat recalls. Returns matching recalls newest first with class, reason, status and dates, the total number on record, and the firms with the most matches. Pass recall_id to get one recall.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Product words, e.g. \"peanut butter\", \"infusion pump\", \"baby crib\"."
},
"firm": {
"type": "string",
"description": "Company name, e.g. \"Acme Foods\"."
},
"type": {
"type": "string",
"enum": [
"food",
"drug",
"device",
"product",
"vehicle",
"all"
],
"description": "food, drug, device (FDA), product (CPSC) or vehicle (NHTSA). Default all."
},
"since": {
"type": "string",
"description": "Only recalls initiated on or after this date (YYYY-MM-DD)."
},
"until": {
"type": "string",
"description": "Only recalls initiated on or before this date (YYYY-MM-DD)."
},
"class_i": {
"type": "boolean",
"description": "Only Class I (the most serious FDA class)."
},
"recall_id": {
"type": "string",
"description": "One recall by its number (e.g. F-0123-2025, Z-0456-2024, D-0789-2023, or a CPSC number)."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Max results (default 10, max 25)."
}
}
}π’find_trials(condition, sponsor, intervention, status, phase, ...)
Find clinical studies registered on ClinicalTrials.gov by condition, sponsor or intervention, optionally by status (e.g. RECRUITING), phase (1-4), U.S. state or country. Returns status, phase, sponsor, dates, enrolment and the registry link. Pass nct_id for one study. Registry facts only, no advice about joining.
Input Schema
{
"type": "object",
"properties": {
"condition": {
"type": "string",
"description": "Disease or condition, e.g. \"glioblastoma\"."
},
"sponsor": {
"type": "string",
"description": "Sponsor organisation, e.g. a drug company or university."
},
"intervention": {
"type": "string",
"description": "Drug, device or procedure name."
},
"status": {
"type": "string",
"description": "RECRUITING, NOT_YET_RECRUITING, ACTIVE_NOT_RECRUITING, COMPLETED, TERMINATED, ..."
},
"phase": {
"type": "string",
"description": "1, 2, 3 or 4."
},
"state": {
"type": "string",
"description": "U.S. state as a two-letter code (NY) or full name (New York)."
},
"country": {
"type": "string",
"description": "Country with a study site, e.g. \"United States\"."
},
"nct_id": {
"type": "string",
"description": "One study by its NCT number, e.g. NCT01234567."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Max results (default 10, max 25)."
}
}
}π’aircraft_owner(n_number, mode_s)
Look up a U.S. civil aircraft in the FAA registry by tail number (N-number) or Mode S hex code: make, model, year, registration status and dates, and the registrant when it is an organisation (company, LLC, government). Aircraft registered to private individuals are confirmed as such without the personβs name. Also gives the N-numberβs cancelled registrations from the FAA deregistered aircraft file (cancel date, export country, earlier aircraft and organisation owners), including for numbers no longer on the register.
Input Schema
{
"type": "object",
"properties": {
"n_number": {
"type": "string",
"description": "Tail number, e.g. N12345 or N123AB."
},
"mode_s": {
"type": "string",
"description": "Mode S transponder code as 6 hex characters, e.g. A1B2C3."
}
}
}π’check_mine(mine_id, name, state, limit)
Look up a U.S. mine on the Mine Safety and Health Administration (MSHA) register by its 7-digit mine ID or by name (optionally with a two-letter state): status, commodity, controller and operator (organisations only), and its record since 2000: inspections, citations and orders (significant and substantial), proposed and paid penalties, accidents and fatal accidents.
Input Schema
{
"type": "object",
"properties": {
"mine_id": {
"type": "string",
"description": "MSHA mine ID, 7 digits, e.g. 0100004."
},
"name": {
"type": "string",
"description": "Mine name or part of it, e.g. \"Brierfield Quarry\"."
},
"state": {
"type": "string",
"description": "Two-letter state, e.g. WV."
},
"limit": {
"type": "integer",
"description": "Most mines to return for a name search (default 10, max 50)."
}
}
}π’tariff_duty(code, country, date)
The U.S. import duty on an HTS line for goods from a given country on a given date, read from the USITC schedule in force that day: the general or column 2 base rate, special-program rates, and every additional Chapter 99 duty that reaches the code and country (Section 301, Section 232, IEEPA and reciprocal tariffs) with its heading, rate, dates and why it applies. Gives a total only when the schedule settles it, and says why otherwise. Use search_tariff_codes to find a code.
Input Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "HTS line with 8 or 10 digits, e.g. 8471.30.01 or 0306.17.00."
},
"country": {
"type": "string",
"description": "Country of origin, ISO two-letter code (CN, MX, DE) or name (China)."
},
"date": {
"type": "string",
"description": "Entry date; default today (YYYY-MM-DD)."
}
},
"required": [
"code",
"country"
]
}π’search_tariff_codes(query, date, limit)
Search the U.S. Harmonized Tariff Schedule by product words; returns HTS codes, descriptions and general rates.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Product words, e.g. \"frozen shrimp\"."
},
"date": {
"type": "string",
"description": "Schedule in force on (YYYY-MM-DD)."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Max results (default 10, max 25)."
}
},
"required": [
"query"
]
}π’company_record(name, limit)
Everything Starfile holds on one company across agencies: FDA and CPSC recalls, clinical trials it sponsors, nursing homes it owns or runs (CMS), and aircraft registered to it (FAA), with counts, first and last dates and links. Organisations only. Says whether the match is by official id or by name.
Input Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Company name, e.g. \"Acme Health Holdings\"."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Max results (default 10, max 25)."
}
},
"required": [
"name"
]
}π’what_changed(ccn, n_number, nct_id, since, until, ...)
The dated changes in one official record, newest first, edition by edition as the agency published them: for a nursing home (by CCN) its ratings, staffing, citations, penalties and owner organisations; aircraft (N-number) and trials (NCT id) as their history loads. Each change shows the field, before and after, the edition date and the exact source file. Optional since and until dates. Changes about private persons are counted, not shown.
Input Schema
{
"type": "object",
"properties": {
"ccn": {
"type": "string",
"description": "Nursing home CMS Certification Number (6 characters)."
},
"n_number": {
"type": "string",
"description": "Aircraft tail number."
},
"nct_id": {
"type": "string",
"description": "Trial NCT number."
},
"since": {
"type": "string",
"description": "Only changes in editions on or after this date (YYYY-MM-DD)."
},
"until": {
"type": "string",
"description": "Only changes in editions on or before this date (YYYY-MM-DD)."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Max changes (default 25, max 50)."
}
}
}π’starfile_overview
The datasets Starfile holds, how many records each has, how fresh each is, and links to the data feed and docs.
Input Schema
{
"type": "object",
"properties": {}
}Community
Evidence