Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

hmis-mcp

Latest version: v0.1.2

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: Daniel.Blanchard
0 Stars
0 Forks
3 Versions
Python Repo language

Scan summary

hmis-mcp was last scanned on 25 Nov 2026 at version 0.1.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 25 Nov 2026.
  • Findings: No rules fired in version 0.1.2.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.2 LATEST 25 Nov 2026 No rules fired
0.1.1 25 Nov 2026 No rules fired
0.1.0 25 Nov 2026 No rules fired

No rules fired in 0.1.2

Findings

Findings for v0.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

hmis-mcp

An MCP server that lets an AI agent answer questions about an agency's HMIS data (how many people a shelter served, where they exited to, how full the beds were) while only ever seeing aggregate numbers. The agent cannot retrieve a name, an SSN, a birth date, a client ID, or a row about one person, because the server has no tool that returns them and small counts are suppressed.

It reads the HUD HMIS CSV export, which every HMIS vendor is required to produce, so it is not tied to one vendor or one state: WellSky Community Services, Bitfocus Clarity, ClientTrack and the rest all export it.

Install

There are two routes. If you use Claude Desktop and would rather not touch a terminal, use the bundle. For every other agent, or if you are comfortable with a command line, use uvx.

Claude Desktop, no terminal
  1. Download hmis-mcp.mcpb.
  2. Open it with Claude Desktop. Double-clicking the file should do it; if not, open Claude Desktop's settings, go to Extensions, and install it from there.
  3. When asked, choose your HMIS export: the zip file your HMIS produced for the HUD CSV export. You can also set the smallest count to show and a folder for a query log.

Claude Desktop fetches Python and everything else the first time it starts the extension, which takes a minute and needs an internet connection. The export itself stays on your computer.

Every other agent: uvx

The only thing you install yourself is uv, a small tool that fetches Python and this server when they are needed. There is nothing to clone and no Python to set up. This works the same on Windows, macOS and Linux.

On Windows, in PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

On macOS or Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Open a new terminal afterwards so the uvx command is found. Then make a synthetic export and check that the server can read it:

uvx hmis-mcp sample hmis-sample
uvx hmis-mcp check --export hmis-sample

check prints the export's layout, its date range and a few totals, then OK. It never prints client data. For real data, run your HMIS's HUD CSV export for your agency's projects and give check the zip or the folder instead.

uvx downloads the server from PyPI the first time and keeps a copy. To move to a newer release later, run it once as uvx hmis-mcp@latest.

If you are an AI agent installing this for someone
  1. Run uvx --version. If it is missing, ask before installing uv with the command above for their operating system.
  2. Ask where their HMIS CSV export is (a zip or a folder). Do not open, list, print or read the export yourself. It holds client names, birth dates and Social Security numbers, and keeping those out of your context is the point of this server. Only pass its path along.
  3. Run the check command above with that path. It prints counts only. If it fails, show the person the message and stop.
  4. Add the server to your own MCP configuration using the block under "Agents that run a local command". Use absolute paths. In JSON on Windows, write paths with forward slashes (C:/Users/name/export.zip).
  5. If the app reports that uvx can't be found, which happens with desktop apps that don't inherit the terminal's PATH, replace "uvx" with its full path: where uvx on Windows, which uvx elsewhere.
  6. Reload your MCP servers and call describe_dataset to confirm it answers.
  7. Leave the HTTP transport and tunnels alone unless the person asks for them.

Getting the export

The file this reads is the HUD CSV export, sometimes called the HMIS CSV export: a zip of about two dozen CSV files in a layout HUD specifies. Every HMIS can produce one, because federal reporting depends on it.

Ask for the hashed version if your system offers it. That is the file communities upload to Eva, HUD's data quality tool, and in it names and Social Security numbers are replaced by hashes. This server never reads those columns in either version, so you lose nothing, and the copy sitting on your computer holds less.

Where it lives depends on the vendor, and menus move, so treat these as starting points:

  • WellSky Community Services (ServicePoint): on the Reports tab, "Hashed HMIS CSV", then Start New Export, then Download Results.
  • Bitfocus Clarity: Reports, then the Report Library, then "[HUDX-111] HUD CSV / XML Program Data Export" under HUD Reports, with the option to hash identifying data switched on.
  • Eccovia ClientTrack: the HMIS CSV Export among the HMIS export tools.

Who may run it is a local decision. Some communities let any agency user with reporting access pull it; others keep it with administrators. If you can't find it, ask your HMIS lead for "the hashed HMIS CSV export, the one used for Eva", covering your agency's projects and the dates you want to report on.

Three things to know once you have it:

  • Leave the zip exactly as it was downloaded. Opening a CSV in Excel and saving it can change dates and strip leading zeros.
  • The export only covers the date range and projects chosen when it was run, so that is the most this server can report on. Run a new export to see newer data.
  • It is still client-level data even when hashed, with birth dates and client IDs in it. Keep it wherever your agency keeps other HMIS files.

Supported export formats

HUD has revised the CSV format three times since October 2021, and all three revisions load:

Revision In effect from What differs
FY2026 October 2025 Sex replaces the gender columns
FY2024 October 2023 Gender as Woman, Man, NonBinary and others; Hispanic/Latina/e/o is one of the race flags; three-digit living situation codes; two emergency shelter project types
FY2022 October 2021 Gender as Female, Male, NoSingleGender; a separate Ethnicity column; one- and two-digit living situation codes; one emergency shelter type plus TrackingMethod; CoC in EnrollmentCoC.csv

The revision is read from the Client.csv header, not from the CSVVersion a vendor wrote in Export.csv, and describe_dataset reports it. If the two disagree the server says so. FY2022 data is translated into the current code lists using the same crosswalk as HUD Data Lab's FY2022-to-FY2024 conversion, so a question gets the same answer whichever revision the export is in. Two things can't be recovered from an FY2022 export: which kind of rental subsidy someone had (seven old codes became one), and Middle Eastern or North African as a race, which FY2022 didn't collect.

FY2020 and earlier exports are refused with a message saying so. If detection fails on an export you know is supported, pass --csv-version 2022, 2024 or 2026.

Connecting agents

There are two ways in, and which one you need depends on whether the agent can start a program on your computer.

Agents that run a local command (stdio)

Claude Code, Claude Desktop, Codex CLI, Gemini CLI, Cursor and VS Code all launch the server themselves. Nothing listens on the network. They all want the same two facts, a command and its arguments, and differ only in which file holds them:

{
  "mcpServers": {
    "hmis": {
      "command": "uvx",
      "args": ["hmis-mcp", "--export", "/absolute/path/to/export.zip"]
    }
  }
}
Agent Where it goes
Claude Desktop claude_desktop_config.json
Claude Code claude mcp add hmis -- uvx hmis-mcp --export /absolute/path/to/export.zip
Cursor .cursor/mcp.json
Gemini CLI ~/.gemini/settings.json
VS Code .vscode/mcp.json, with the top-level key servers instead of mcpServers
Codex CLI ~/.codex/config.toml, as a [mcp_servers.hmis] table with command and args

These file locations change between releases. If one doesn't work, check that agent's MCP documentation; the command and args stay the same.

Agents that connect to a URL (HTTP)

ChatGPT cannot start a local program. Its servers call yours, so the server needs a public https:// address. The same goes for the OpenAI Responses API and most hosted agent platforms.

Make a secret. This writes it to a file in your home folder, readable only by you on macOS and Linux, and by whoever can read your user profile on Windows:

uvx hmis-mcp secret --out ~/.hmis-mcp-secret

Give the server a public address. The server itself stays bound to 127.0.0.1; a tunnel carries HTTPS traffic to it. With Cloudflare's:

cloudflared tunnel --url http://127.0.0.1:8000

That prints an address like https://something.trycloudflare.com. Start the server with it:

uvx hmis-mcp --export /absolute/path/to/export.zip --transport http --public-url https://something.trycloudflare.com --secret-file ~/.hmis-mcp-secret

The MCP endpoint is the public address plus /mcp.

ChatGPT. Add a custom MCP server in ChatGPT's settings (OpenAI has moved this menu more than once; look under connectors, apps or plugins), give it the /mcp URL, and choose OAuth. ChatGPT registers itself and sends your browser to this server's approval page. Paste the secret there. Tokens refresh on their own after that, and approvals survive a restart.

Agents that send headers. Use the secret as a bearer token: Authorization: Bearer <secret>. For the OpenAI Responses API that is an mcp tool with server_url set to the /mcp URL and authorization set to the secret.

The server will not start on HTTP without a secret unless you pass --no-auth, and it accepts --no-auth only on a loopback address with no public URL.

Before you expose this, understand what changes. Over stdio, aggregates go to whichever model your local agent uses. Over HTTP with ChatGPT, they go to OpenAI, and anyone who obtains the secret can query your agency's statistics from anywhere. No client-level data is reachable either way, but aggregate numbers about a small shelter are still your agency's data. Stop the tunnel when you are not using it.

Options

Option Env var Default
--export HMIS_EXPORT_PATH required Export directory or zip
--min-cell-size HMIS_MIN_CELL_SIZE 11 Smallest client count released. Floor is 5.
--csv-version HMIS_CSV_VERSION detected Force the HUD CSV revision: 2022, 2024 or 2026
--audit-log HMIS_AUDIT_LOG off One JSON line per query: the request and how many cells were released or suppressed. No results.
--transport HMIS_MCP_TRANSPORT stdio stdio or http
--host, --port 127.0.0.1, 8000 Where the HTTP transport listens
--public-url HMIS_MCP_PUBLIC_URL The https:// address clients use
--secret-file HMIS_MCP_SECRET (the secret itself) Access secret, at least 24 characters
--state-file HMIS_MCP_STATE ~/.hmis-mcp/oauth-state.json Approved clients and token hashes

Tools

  • describe_dataset: export period, privacy rules, and every valid measure, cohort, dimension and dimension value.
  • list_projects: project names, types, organizations, bed inventory.
  • query_aggregate: counts of clients, enrollments or households, and mean or median length of stay, broken down by up to three dimensions, with filters, a cohort (active, entered, exited) and a reporting period.
  • bed_utilization: monthly bed nights and utilization per project.

Dimensions cover project, organization, project type, CoC, age group, race/ethnicity, sex (FY2026) or gender (FY2024), veteran status, household type, relationship to head of household, disabling condition, DV survivor status, prior living situation, exit destination, length of stay, income at entry, and entry/exit month, quarter and year.

The agent picks from that vocabulary. It never writes SQL.

How the privacy protection works

Threat model first, because it determines what the rest is worth. The person running this server already holds the export and is authorized to see it. The thing being protected against is client data reaching a model provider, a chat transcript, or a generated report. The server is not built to stop a determined insider with unlimited queries from learning something about a client; that person can open the CSV.

Within that model:

  1. Names, SSNs and free-text fields are never read into the database. Each CSV has a column allowlist and those columns are not on it.
  2. Birth dates and a per-client index stay in the in-memory database, because ages and distinct counts need them, but no tool returns them. Ages come out as bands and dates as months.
  3. Any cell covering fewer than 11 clients is suppressed. Eleven is the CMS convention; you can change it, down to 5.
  4. If one suppressed cell on a row or column could be recovered by subtracting the others from a total, a second cell is suppressed as well.
  5. The server remembers which client groups it has already answered about. A later query whose group differs from an earlier one by fewer than 11 clients, with one containing the other, is refused. That blocks the "everyone, then everyone except the people who entered on March 3rd" trick.
  6. Unexpected errors return a generic message, so a database error can't carry data out.
  7. Over HTTP, every request needs the access secret or a token issued after someone typed it into the approval page. Only hashes of issued tokens are stored. Ten wrong guesses lock the approval page for ten minutes.

Known limits, stated plainly:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases hmis-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229