frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

OpenPGx – Ask Claude about medications from your 23andMe/Genera raw file (MCP)

https://github.com/open-pgx/openpgx
2•dougplac•1h ago

Comments

dougplac•1h ago
Hi HN — I built OpenPGx because pharmacogenomic knowledge is scattered in PDFs and lab portals, while the formats we use in healthcare (FHIR, etc.) are not really built for “let me ask an AI about my genotype with citations.”

Problem: After getting genotyped, I wanted plain questions answered with evidence — “Can I take this GLP-1?”, “What does my APOE mean for Alzheimer risk?” — without pasting rsIDs into random chatbots. PharmCAT and similar tools are valuable but not aimed at MCP/LLM workflows; papers are unstructured.

What it is: An open JSON shape for PGx (one file ≈ one gene–drug study, PMID/DOI on every interpretation) plus an MCP server so Claude, Cursor, or any MCP client can load your raw file, query the catalog, and answer in natural language with study-backed reasoning.

Local workflow (privacy-first):

Clone or npx openpgx — raw DNA stays out of git: use the genomes/ folder (gitignored). Supported parsers today: 23andMe .txt and Genera .csv (same convention as in genomes/README.md: drop files there, then point the tool at the path).

In the assistant: e.g. “Upload my genome from genomes/my_file.txt” — parsing stays on your machine.

Ask medication, risk, trait, or supplement questions; answers tie back to the study JSON (and optional full reports).

What ships today (from the repo):

118 curated study files · 109 genes · 219 drug strings indexed (generics + brands + fuzzy/typo-friendly resolution, multilingual prompts)

19 disease-risk conditions · 31 traits

9 MCP tools (upload, medication check, PGx / risk / trait reports, comparisons, supplements, combined report)

Contributing: No code required to add evidence — drop a new JSON under data/pgx/studies/ and PR; the server indexes at runtime.

Install (stdio, local):

npx openpgx

Claude Desktop example:

{ "mcpServers": { "openpgx": { "command": "npx", "args": ["-y", "openpgx"] } } }

Site: https://openpgx.ai · Repo: https://github.com/open-pgx/openpgx · npm: https://www.npmjs.com/package/openpgx

There is also an optional hosted MCP endpoint for people who prefer zero install (data processed server-side with a short session TTL) — for maximum privacy, the local npx path above is the one I use.

I’d especially like feedback on the study JSON schema: we kept it deliberately small so a paper + rsIDs can become one file. What would you add or split differently for real-world use?

Disclaimer: educational / research tooling, not a substitute for a clinician or pharmacist.

Google Externalised the Cost of Renaming Gmail

https://nativerse-ventures.com/gmail-rename-cascade
1•Srinathprasanna•11m ago•0 comments

Show HNZ A native C/GTK Linux tray internet monitor to log ISP dropouts

https://github.com/lsferreira42/internet-indicator
1•lsferreira42•18m ago•0 comments

Show HN: A social feed with no strangers

https://www.grateful.so/
2•rpatni•20m ago•0 comments

A protective case for your glasses

https://thangs.com/designer/Gazzaladra/3d-model/Glasses%20case-1511373
1•dsego•21m ago•0 comments

Taking on CUDA with ROCm: 'One Step After Another'

https://www.eetimes.com/taking-on-cuda-with-rocm-one-step-after-another/
2•mindcrime•23m ago•0 comments

Vegetative Patients May Be More Aware Than We Knew

https://www.nytimes.com/2026/04/09/magazine/vegetative-states-conscious-aware.html
2•bookofjoe•25m ago•1 comments

Should capitalism be a choice?

https://cyrusradfar.com/thoughts/should-capitalism-be-a-choice
1•cyrusradfar•25m ago•0 comments

Major history podcasts are being faked

https://old.reddit.com/r/podcasting/comments/1sjgscs/major_history_podcasts_are_being_faked/
1•softwaredoug•28m ago•0 comments

Sam Altman's home targeted in second attack

https://sfstandard.com/2026/04/12/sam-altman-s-home-targeted-second-attack/
4•babelfish•31m ago•1 comments

Welcome to Agents Week

https://blog.cloudflare.com/welcome-to-agents-week/
1•cebert•31m ago•0 comments

They accidentally started a green screen revolution [video]

https://www.youtube.com/watch?v=Y3Dfw969itU
3•qingcharles•43m ago•0 comments

Show HN: Vapephone

https://wefumevapes.com/
1•wvlia5•45m ago•0 comments

KindleModding

https://kindlemodding.org/
2•fallinditch•47m ago•0 comments

Tech valuations are back to pre-AI boom levels

https://www.apollo.com/wealth/the-daily-spark/tech-valuations-back-to-pre-ai-boom-levels
38•akyuu•48m ago•4 comments

Linux Out-of-Bounds Access Fixed for Unprivileged Users with Crafted Certs

https://www.phoronix.com/news/Linux-OOB-Special-Certificate
2•moehm•58m ago•0 comments

Adventures in Slop: Can an AI Agent Generate Web Traffic?

https://www.tomdalling.com/blog/adventures-in-slop-can-an-ai-agent-generate-traffic/
1•ingve•1h ago•0 comments

Is Nvidia [stock] Worth 400% More? (video)

https://www.youtube.com/watch?v=xXyeTXLFfzs
1•hank808•1h ago•1 comments

Largest Curation of IAS

https://sstflix.ai
1•suschlebinger•1h ago•1 comments

Warning to drivers as Hyundai recalls 300k cars over life-threatening glitch

https://www.dailymail.co.uk/news/article-15726527/hyundai-cars-recall-seatbelt-anchor-detach.html
1•Bender•1h ago•1 comments

Git fixup is magic (and Magit is too)

https://arialdomartini.github.io/git-fixup
1•birdculture•1h ago•0 comments

Gephi – The Open Graph Visualization Platform

https://gephi.org
1•maxloh•1h ago•0 comments

India's frugal AI models are a blueprint for resource-strapped nations

https://restofworld.org/2026/india-frugal-ai-sarvam-krutrim-sovereign/
3•i7l•1h ago•1 comments

Oilfield Units: a Measurement System so Cursed it made me Change Career [video]

https://www.youtube.com/watch?v=sdWEGzWFcCc
1•CharlesW•1h ago•0 comments

At Coachella, Justin Bieber spends half an hour surfing YouTube

https://www.sfgate.com/sf-culture/article/bieber-coachella-22202157.php
2•turtlegrids•1h ago•0 comments

Vlookup Still Beats XLOOKUP in Poll of 1,975 Excel Users (53% vs. 36% vs. 12%)

https://accountsdraft.com/resources/xlookup-vs-vlookup-vs-index-match-excel-poll-results
2•Rob_Benson-May•1h ago•0 comments

Show HN: Transcribe, analyse, and chat with your voice conversations

https://github.com/nezhar/voicevault
1•nezhar•1h ago•0 comments

The Death of Character in Game Console Interfaces

https://vale.rocks/posts/game-console-interfaces
2•PaulHoule•1h ago•1 comments

Pi Coding Agent [video]

https://www.youtube.com/watch?v=O-96yYDPMOc
1•davidkunz•1h ago•0 comments

Ask HN: On autistic spectrum, best way to live?

9•beaunative•1h ago•1 comments

How the CIA Forgot the Art of Spying

https://www.politico.com/magazine/story/2017/03/cia-art-spying-espionage-spies-military-terrorism...
8•cwwc•1h ago•0 comments