Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

PubChem Finder

by MysterionRiseversion 2.2.3i★ 11iRuns on your computerRepository ↗
Registry nameio.github.MysterionRise/pubchem-finder

How to install

What it does

Search PubChem by structure: a local similarity/substructure index, live PubChem data, RDKit tools

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Use together with

Skills that teach the AI this kind of work; they work alongside this one

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6381 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6051 skills

Skill · How-to guide

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

by gosom★ 8,2361 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity13/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score25/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install PubChem Finder. Follow https://mcp.popnx.com/i/mysterionrise-pubchem-finder.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server PubChem Finder for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "pubchem-finder": { "command": "uvx", "args": [ "pubchem-finder", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the PubChem Finder tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "pubchem-finder": {
          "command": "uvx",
          "args": [
            "pubchem-finder",
            "mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use PubChem Finder and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using PubChem Finder or shows a PubChem Finder tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PUBCHEM_FINDER_HOME Data directory for the local index and the PubChem response cache (default: the platform's user data directory)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect PubChem Finder yet

PubChem Finder runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect PubChem Finder

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server PubChem Finder for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user pubchem-finder -- uvx pubchem-finder mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the PubChem Finder tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user pubchem-finder -- uvx pubchem-finder mcp
  4. Type /mcp in Claude Code

    You should see PubChem Finder listed as connected

  5. Try it

    Use PubChem Finder and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using PubChem Finder or shows a PubChem Finder tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PUBCHEM_FINDER_HOME Data directory for the local index and the PubChem response cache (default: the platform's user data directory)

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server PubChem Finder for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "pubchem-finder": { "command": "uvx", "args": [ "pubchem-finder", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the PubChem Finder tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use PubChem Finder and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using PubChem Finder or shows a PubChem Finder tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PUBCHEM_FINDER_HOME Data directory for the local index and the PubChem response cache (default: the platform's user data directory)

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server PubChem Finder for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "pubchem-finder": { "type": "stdio", "command": "uvx", "args": [ "pubchem-finder", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the PubChem Finder tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use PubChem Finder and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using PubChem Finder or shows a PubChem Finder tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PUBCHEM_FINDER_HOME Data directory for the local index and the PubChem response cache (default: the platform's user data directory)

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use PubChem Finder💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user pubchem-finder -- uvx pubchem-finder mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "pubchem-finder": {
      "command": "uvx",
      "args": [
        "pubchem-finder",
        "mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "pubchem-finder": {
      "command": "uvx",
      "args": [
        "pubchem-finder",
        "mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "pubchem-finder": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pubchem-finder",
        "mcp"
      ]
    }
  }
}

Values you fill in

  • PUBCHEM_FINDER_HOME env
    Data directory for the local index and the PubChem response cache (default: the platform's user data directory)

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
249/wk
Connection
Runs on your computer
Latest versioni
2.2.3
Published to registryi
Nov 13, 2026
Code last changedi
Nov 18, 2026
Maker
MysterionRise
Packages
pypi: pubchem-finder
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account MysterionRise, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for pubchem-finder@2.2.3

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/mysterionrise-pubchem-finder.svg)](https://mcp.popnx.com/en/servers/mysterionrise-pubchem-finder)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Search & AI memoryi

  • More stars than 93% of the other 6470 servers in this category
  • Published to the registry more recently than 86% of the other 6470 servers in this category
  • Basic checks equal to or better than 99% of the other 6470 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is PubChem Finder safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (2.2.3) reached the registry 7 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

by every-appWidely used★ 28.3KUpdated 6 days ago

Runs in the cloud✓ everyapp.com

Exa

Official Exa MCP for web search, content fetching, and multi-step research.

by exa-labsWidely used★ 5.2KUpdated today

Runs in the cloud✓ service owner · exa.aiTried by the PopNx team

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

by MicrosoftDocsWidely used★ 2KUpdated 12 months ago

Runs in the cloud✓ service owner · microsoft.comTried by the PopNx team

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

by proxysoulGrowing★ 1.6KUpdated 2 months ago

Runs in the cloud✓ empryo.com
Compared with similar ones
This one
PubChem Finder
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesYesYesNoNo
Basic checks3/35/52/44/44/44/4
LicenseMITMITMITCC-BY-4.0NOASSERTIONApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

PubChem Finder

Search PubChem by chemical structure from your terminal or from Claude. PubChem Finder builds a local fingerprint index of PubChem (all of it, or the slice you need) for exact similarity and substructure search with no rate limits, wraps PubChem's live services for names, safety data and bioassays, and adds RDKit chemistry: structure drawings, med-chem triage and descriptors. Local search works from the first question, on a built-in set of 1,932 FDA-approved drugs, until you build a PubChem index. It runs as a command-line tool, a Python library and an MCP server for Claude Desktop, Claude Code and other MCP clients.

*Real searches over the first 444,794 compounds of PubChem, rendered from the index the project's real-data workflow builds: similarity hits for aspirin with the atoms that differ from it highlighted, then hits for an aryl sulfonamide SMARTS with the match highlighted. MP4 version.*

Why this one

Other PubChem tools, MCP servers and hosted connectors included, forward questions to PubChem's web API. That works for looking compounds up, but structure search through the API is rate-limited, times out on generic queries and returns unscored samples. PubChem Finder also keeps a local index:

  • Exact, scored similarity search over every indexed compound (ECFP4 Tanimoto by default) in milliseconds, using FPSim2, the engine behind ChEMBL's similarity search.
  • Local substructure search with SMILES or SMARTS: a fingerprint screen, then an atom-by-atom match, so every hit is a real match.
  • Offline chemistry with RDKit: descriptors, standardization, PAINS/Brenk/NIH alerts, QED, synthetic accessibility, and drawings that show what changed between analogues.
  • PubChem knowledge, cited: synonyms and CAS numbers, cross-references, GHS classification, pharmacology, toxicity and bioassay summaries, each with its source.

No database server, no Docker: the index is a pair of files in your data directory.

Use it from Claude

Requires uv, which fetches Python and everything else on first run.

Claude Code:

claude mcp add pubchem-finder -- uvx --python 3.14 pubchem-finder mcp

or as a plugin, which also works in Cowork:

/plugin install pubchem-finder --marketplace MysterionRise/pubchem-finder

Claude Desktop (Settings, Developer, Edit Config, then restart Claude):

{

"mcpServers": { "pubchem-finder": { "command": "uvx", "args": ["--python", "3.14", "pubchem-finder", "mcp"] } } }

Then ask things like:

  • "What is the molecular weight and XLogP of caffeine? Is it Lipinski-compliant?"
  • "Is ibuprofen hazardous? What does its GHS label say? Cite the sources."
  • "What are the main targets of celecoxib in PubChem bioassays?"
  • "Show me the closest analogues of aspirin and highlight what changed."
  • "Does this compound have any PAINS alerts? O=C1C(=Cc2ccccc2)SC(=S)N1"
  • "Find the 20 compounds most similar to ibuprofen" or "Which indexed compounds contain an aryl sulfonamide? Draw a few with the group highlighted." (local search: the demo set of FDA-approved drugs until you build an index)

*draw_molecules with highlight="smarts": eight sulfonamide drugs with the match for NX3(=O)(=O)c highlighted, as Claude shows it inline.*

Local similarity and substructure search work from the first question: until you build an index, they search a built-in demo set of 1,932 FDA-approved drugs (built in about a second on first use) and say so. Build a PubChem index from the command line (below) and the server switches to it, no restart needed. To use a non-default data directory, add "env": {"PUBCHEM_FINDER_HOME": "/path"} to the Claude Desktop entry, or --env PUBCHEM_FINDER_HOME=/path to claude mcp add.

Other MCP clients: the server speaks standard MCP over stdio, so any client that runs local MCP servers (Cursor, VS Code, Windsurf, Zed, JetBrains IDEs, Codex CLI, LM Studio...) can start it with the same command and arguments. It is listed in the MCP registry as io.github.MysterionRise/pubchem-finder for clients that install servers from there. docs/clients.md has the settings, a quick check, and setups people have tested; if you use one of those clients, adding yours there is a good first contribution.

Over HTTP: pubchem-finder mcp --transport http serves the same tools at http://127.0.0.1:8000/mcp (MCP streamable HTTP) for clients that connect to a URL rather than start a process, and for one shared index on a team machine. For example, claude mcp add --transport http pubchem-finder http://127.0.0.1:8000/mcp. The server has no authentication or TLS of its own: read Over HTTP before binding it to anything but 127.0.0.1.

Tools
ToolWhat it does
pubchem_lookup(query, by, limit)Resolve a name, CID, SMILES or InChIKey to PubChem records: identifiers, formula, MW, XLogP, H-bond counts, TPSA, link.
compound_properties(smiles)RDKit descriptors and Lipinski check for any SMILES. Offline.
standardize(smiles)Remove salts and counter-ions, neutralize, canonicalize; says what it removed. Offline.
compare(smiles_a, smiles_b)Tanimoto similarity on ECFP4 and MACCS fingerprints. Offline.
medchem_profile(smiles)QED, synthetic accessibility, Lipinski/Veber, PAINS/Brenk/NIH alerts with atoms, Murcko scaffold. Offline.
draw_molecules(smiles, legends, highlight, smarts, reference_smiles)Structures as an inline image, highlighting a SMARTS match, what changed relative to a reference, or a similarity map. Offline.
similarity_search(smiles, threshold, top_k, metric, group_by_scaffold)Most similar compounds in the local index (the demo set until one is built), optionally grouped by Murcko scaffold.
substructure_search(query, query_type, max_hits)Indexed compounds containing a SMILES or SMARTS fragment, lowest CID first.
index_status()Whether the local index is built, what it holds, what local searches cover now, and how to build what is missing.
pubchem_similarity_search(smiles, threshold, max_records)Similar compounds across all of PubChem, live, re-scored with ECFP4.
pubchem_substructure_search(smiles, max_records)Compounds across all of PubChem that contain a fragment, live.
pubchem_exact_match(smiles, identity_type, max_records)The PubChem record(s) for exactly this structure, optionally ignoring stereo or isotopes.
pubchem_synonyms(cid, limit)Common, brand and systematic names, plus CAS Registry Numbers.
pubchem_xrefs(cid)Registry IDs (CAS, ChEMBL, DrugBank...), PubMed articles and patents.
pubchem_description(cid)Curated descriptions, with sources.
pubchem_annotations(cid, heading, max_chars)One section of the compound page: GHS classification, hazards, pharmacology, mechanism of action, drug information, experimental properties, toxicity, use, food additives. Every item names its source.
pubchem_bioactivity(cid)Bioassay summary: assay count, outcomes, top targets (one per gene), lowest potency values (IC50, Ki...) among active results.
Prompts and resources

Prompts start a whole workflow by name. In Claude Code they are slash commands, such as /pubchem-finder:compound_dossier aspirin; each argument is one word (a SMILES works, and a list is comma-separated without spaces).

PromptWhat it does
compound_dossier(compound)A cited profile of a compound (name, CID or SMILES): identity, structure, drug-likeness, GHS safety, pharmacology, bioassay targets.
find_analogues(compound, threshold)Close analogues grouped by scaffold and drawn with what changed; also asks PubChem when only the demo set was searched.
triage_structures(structures)Medicinal-chemistry triage of SMILES,SMILES,..., ranked, with the structural alerts drawn.

Resources are data a client can attach to a conversation: pubchem://compound/{cid} (a PubChem compound record as JSON; in Claude Code, @pubchem-finder:pubchem://compound/2244) and pubchem://index/status.

Use it from the command line

uvx --python 3.14 pubchem-finder lookup caffeine                # PubChem record by name (--by cid, smiles or inchikey for those)

uvx --python 3.14 pubchem-finder props "CC(=O)Oc1ccccc1C(=O)O" # RDKit descriptors (offline)

uvx runs the package without installing it; --python 3.14 keeps uv off Python 3.15 (see Troubleshooting). To install the command once: uv tool install --python 3.14 pubchem-finder (or pip install pubchem-finder on Python 3.11 to 3.14). The examples below assume it is installed. To try the development version, replace pubchem-finder with --from git+https://github.com/MysterionRise/pubchem-finder pubchem-finder in any uvx command.

Build a local index and search it
pubchem-finder index build --limit 1 --with-substructure   # first PubChem chunk: ~445,000 compounds

pubchem-finder search "CC(=O)Oc1ccccc1C(=O)O" --threshold 0.7 --top 20 pubchem-finder search "CC(=O)Oc1ccccc1C(=O)O" --group-by-scaffold pubchem-finder substructure "c1ccc2[nH]ccc2c1" # everything indexed that contains indole pubchem-finder substructure "NX3(=O)(=O)c" --smarts # aryl sulfonamides, as SMARTS pubchem-finder index status

pubchem-finder index build --sdf my_library.sdf.gz # or index your own SDF files

Before any index is built, search and substructure use the built-in demo set: 1,932 FDA-approved drugs (PubChem's parent compounds of what it links to Drugs@FDA), built into /demo in about a second on first use, and the results say so (search_scope: "demo" in JSON). index build --demo builds it ahead of time; PUBCHEM_FINDER_DEMO=0 turns the fallback off. Once a PubChem or SDF index is built, searches use it.

index build --limit N downloads the first N of PubChem's 359 SDF chunks (up to 500,000 CIDs each; the first is a 323 MB download) from NCBI over HTTPS, verifies each file's MD5, fingerprints it, deletes the download and merges everything into one searchable index. Re-running is safe: finished chunks are skipped, so an interrupted build resumes and a larger --limit extends an existing index. --all indexes all of PubChem. The default fingerprint is ECFP4 (Morgan radius 2, 1024 bits); --radius and --fp-size change it for a new index.

--sdf FILE (repeatable) indexes your own files, al

Only the beginning is shown; read the rest in the repo