Who it is forA data analyst or developer who needs structured oncology records, such as cancers, drugs or trials, for a dashboard, report or dataset.
The problemOncology facts are scattered across journals, regulators and registries, which makes repeatable structured pulls hard.
The outcomeA script that reads On Co records as JSON, with the required attribution line carried through to the output.
What you need first
- Node.js and npm (inferred, needed for the repository scripts)
- Git and a GitHub account for cloning the repository or opening issues and pull requests
- An MCP-capable client or agent for the MCP server (optional)
Steps
- Install Node.js so that npx is available. (inferred, check the README)
- Run
npx oncoto see the command-line tool and its options. - Open https://onco.cc/api/ for the endpoint list and https://onco.cc/api/v1/openapi.json for the OpenAPI 3.1 schema.
- Fetch the JSON records your script needs from the static JSON API under https://onco.cc/api/v1/.
- Keep the attribution line "Data from On Co (onco.cc)" in every export or report you publish.
Prompt for your agent
Using the OnCo JSON API at https://onco.cc/api/v1/ and the OpenAPI schema at https://onco.cc/api/v1/openapi.json, fetch all records of the kind <kind name> and write them to a CSV file with the attribution line "Data from OnCo (onco.cc)" in the header. Verify that the row count matches the endpoint's reported count and report any record missing a primary link.
Caveat. The corpus is licensed CC BY-NC 4.0, so commercial use requires contacting On Co for a data licence, as the README states.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for judegomila/OnCo and "Pull On Co cancer records into a script via CLI or API"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer