---
summary: "Typed cid_not_found error on get_compound_image; enrichment for get_bioactivity, get_compound_safety, and get_summary"
breaking: false
security: false
---

# 0.1.23 — 2026-06-01

## Added

- **`pubchem_get_compound_image`** — a 404 for a missing CID now returns a typed `cid_not_found` (`NotFound`) error carrying `data.reason: 'cid_not_found'` and a recovery hint, instead of a bare not-found with a null reason. The other six CID tools surface absence as a structured success response and need no error contract. ([#17](https://github.com/cyanheads/pubchem-mcp-server/issues/17))
- **`pubchem_get_bioactivity`** — enrichment block with `outcomeFilter` echo, `filteredCount` (matching the filter) and `returnedCount` (after the `maxResults` cap), plus a notice distinguishing no-data from filter-excluded results. ([#19](https://github.com/cyanheads/pubchem-mcp-server/issues/19))
- **`pubchem_get_compound_safety`** — enrichment notice pointing to `pubchem_get_compound_details` when no GHS data is on file. ([#19](https://github.com/cyanheads/pubchem-mcp-server/issues/19))
- **`pubchem_get_summary`** — enrichment with `requestedCount`, `foundCount`, and a per-miss notice. ([#19](https://github.com/cyanheads/pubchem-mcp-server/issues/19))

## Changed

- **`vitest`** `^4.1.7 → ^4.1.8`.
