---
summary: "interactions and 3D structure tools, URI-templated resources, target filter for bioactivity, batch safety"
breaking: true
security: false
---

# 0.2.0 — 2026-06-01

## Added

- **`pubchem_get_compound_interactions`** — drug-drug, drug-food, and chemical-target interactions with per-entry source attribution ([#12](https://github.com/cyanheads/pubchem-mcp-server/issues/12)). Drug-drug and target interactions fetched from PubChem's SDQ external tables (`drugbankddi`, `consolidatedcompoundtarget`); drug-food interactions from PUG-View inline. `severity` is not normalized across sources — reported faithfully from source prose.
- **`pubchem_get_compound_3d_structure`** — 3D conformer as parsed JSON atoms/bonds (`format: 'json'`, default) or raw SDF text (`format: 'sdf'`), with optional alternate conformer IDs ([#15](https://github.com/cyanheads/pubchem-mcp-server/issues/15)). Returns `notFound` for compounds without computed 3D coordinates.
- **URI-templated MCP resources** — six resources backed by existing `PubChemClient` methods, no new API calls ([#14](https://github.com/cyanheads/pubchem-mcp-server/issues/14)):
  - `pubchem://compound/{cid}` — compound properties
  - `pubchem://compound/{cid}/safety` — GHS classification
  - `pubchem://compound/{cid}/image` — 2D structure diagram (PNG)
  - `pubchem://compound/{cid}/xrefs` — external database cross-references
  - `pubchem://compound/{cid}/bioactivity` — assay activity
  - `pubchem://assay/{aid}` — assay entity summary
- **`targetGeneId` / `targetAccession` filters** on `pubchem_get_bioactivity` input — pure client-side filter on existing `BioactivityRow` fields; both echoed in enrichment when set ([#9](https://github.com/cyanheads/pubchem-mcp-server/issues/9)).

## Changed

- **`pubchem_get_compound_safety` input is now `cids` (array, 1–25)** — replaces the single `cid: number` parameter; output is now `results[]` with one entry per CID ([#13](https://github.com/cyanheads/pubchem-mcp-server/issues/13)). **Breaking:** callers must update to pass an array.
