@pipeworx/inxight-drugs
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/inxight-drugs’s. Install: one-click buttons
Connect to just the @pipeworx/inxight-drugs pack
https://gateway.pipeworx.io/inxight-drugs/mcp — only @pipeworx/inxight-drugs’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 3
Drug development status by indication from NCATS Inxight Drugs: for any drug or substance, the conditions it is approved for or in trials for, the highest phase reached per condition, its approval history, originator and targets.
Tools
inxight_substance(name | unii)— one substance by name or FDA UNII: every indication with its highest phase (Approved / Phase III / II / I) and the trial or label URL behind it, the overall highest development event, first approval year, originator, targets with pharmacology and potency, synonyms, and ChEMBL / DrugBank / PubChem / CAS / MeSH / RxCUI ids. Answers “what is psilocybin being developed for, and how far along”.inxight_search(query, development_status?, limit?, offset?)— free-text substance search; returns UNIIs plus breakdowns of the hits by development status, highest phase and condition.inxight_indication(condition, development_status?, limit?, offset?)— substances for a disease, each with the highest phase reached FOR THAT condition.development_status: "Clinical"keeps only investigational drugs. Also returns the related condition labels Inxight uses (“Ischemic stroke”, “Acute ischemic stroke”) for drilling down.
An unknown drug or condition returns found: false with a reason and a hint;
an upstream HTTP error throws.
For mechanism of action and target-disease evidence, use the chembl and
opentargets packs — inxight_substance returns the ChEMBL id to hop across.
For individual trials, use clinicaltrials.
Auth
Keyless.
Data sources
Inxight Drugs (https://drugs.ncats.io) is run by NIH’s National Center for Advancing Translational Sciences. It is a GSRS deployment that joins the FDA Global Substance Registration System with ClinicalTrials.gov, DrugBank, Drugs@FDA, DailyMed and orphan designations. The site is an Angular app; the JSON API it calls is public but undocumented. Endpoints used, all GET:
- https://drugs.ncats.io/api/v1/substances/search?q=psilocybin&top=10 — search.
Exact-name match is
q=root_names_name:"^PSILOCYBIN$"; UNII lookup isq=root_approvalID:"2RV7212BP0". Filter with repeatedfacet=<Facet Name>/<value>, e.g.facet=Condition/Strokeandfacet=Development Status/Clinical(facets AND together). - https://drugs.ncats.io/api/v1/substances/search/@facets?kind=ix.ginas.models.v1.Substance&field=Condition&ffilter=stroke&fetch=25
— the condition labels containing a string, with counts. Facet values are
case-sensitive, so
inxight_indicationresolves the caller’s text here first. https://drugs.ncats.io/api/v1/substances(<uuid or UNII>)?view=full— names and code cross-references.https://drugs.ncats.io/api/v1/substances(<uuid or UNII>)/@additional— the Inxight layer: a flat list of{name, value}records. The ones used areConditions(per-indicationhighestPhase+highestPhaseUri),Targets,Stitcher Highest Phase,Highest Development Event,Earliest Approved Event,Approval Year,Originator,Description.
Things worth knowing:
- An unrecognized id in
substances(<id>)answers HTTP 500 (“Invalid UUID string”), not 404 — which is why UNII lookup goes through search instead. Conditionsalways carries a placeholder row labelledUnknown; it is dropped.- Search order is the upstream’s, not relevance or phase.
inxight_indicationre-sorts the page it fetched by phase for the condition. - Condition phases come from a ClinicalTrials.gov snapshot (the
Stitcher Labelrecords say e.g. “ClinicalTrials, February 2021”), so a programme that moved phase recently can read one phase behind. Checkclinicaltrialsfor the latest trial.
Tools
- inxight_substance — Drug development status by indication from NCATS Inxight Drugs: for one drug or substance (by name or FDA UNII), every condition it is approved for or in clinical trials for with the highest phase rea
- inxight_search — Search NCATS Inxight Drugs substances by free text (drug name, synonym, code, company or condition words), optionally narrowed to a development status (US Approved Rx, US Approved OTC, US Previously M
- inxight_indication — Drugs and substances approved for or in clinical development for a condition, from NCATS Inxight Drugs: give a disease or indication (e.g. “stroke”, “major depressive disorder”, “migraine”) and get ea
Tools
inxight_indication— Drugs and substances approved for or in clinical development for a condition, from NCATS Inxight Drugs: give a disease or indication (e.g. stroke , major depressive disorder , migraine ) and get eachinxight_search— Search NCATS Inxight Drugs substances by free text (drug name, synonym, code, company or condition words), optionally narrowed to a development status (US Approved Rx, US Approved OTC, US Previously Minxight_substance— Drug development status by indication from NCATS Inxight Drugs: for one drug or substance (by name or FDA UNII), every condition it is approved for or in clinical trials for with the highest phase rea