• STRUCTURE
  • PHYSICAL
  • SEARCH
  • HUMAN

How to retrieve chemical properties with your AI

Connect your agent to PubChem to pull physicochemical data. Once you've linked the MCP, you can ask for specific molecular details in plain English.

Ask AI about this page

Short answer

How can I get chemical properties like SMILES or XLogP using my AI?

Your agent uses PubChem to find compounds and extract specific data like hydrogen bond counts or molecular weight. You get the exact values you need directly in your chat. This breakdown shows how the data moves from PubChem to your agent.

The results you get

Data outcomes

The AI translates your requests into specific chemical data points.

STRUCTURE

Molecular identifiers

The agent pulls SMILES strings and molecular formulas. You get the structural data needed for your work.

PHYSICAL

Property values

Get specific numbers for XLogP and hydrogen bond counts. These values come straight from PubChem records.

SEARCH

Compound lookup

The AI finds the correct CID or entry based on the name you provide. It handles the database navigation for you.

HUMAN

Manual review

You must check the SMILES or properties to ensure they match your requirements. The AI provides the data, but you verify the results.

The workflow

What your AI does when you ask for data.

The agent follows a specific path to find and extract the numbers you want.

  1. Find the compound

    The agent identifies the correct chemical entity in the PubChem database using the name or structure you provided.

    search_pubchem
  2. Fetch details

    After finding the compound, the agent pulls the full set of physicochemical properties for that entry.

    get_pubchem_compound
  3. Extract properties

    The agent looks through the returned data to find the exact values you asked for, such as XLogP.

    get_pubchem_compound
  4. Deliver data

    The agent formats the raw chemical information into a readable response in your chat window.

    get_pubchem_compound

Try it

Copy these to start.

Use these prompts to trigger a PubChem lookup immediately.

Starting points

Replace the chemical names in these examples with the specific molecules you are researching.

PubChem Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_bfnYDABzlJ07TJu7Do9K5lCyve4Fg9F5YGb6KetY/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — PubChem capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "pubchem-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_bfnYDABzlJ07TJu7Do9K5lCyve4Fg9F5YGb6KetY/mcp"
    }
  }
}
Copy into chat04
  • Find the SMILES string and XLogP for Aspirin.

  • Search PubChem for Caffeine and tell me its hydrogen bond donor and acceptor counts.

  • What is the molecular weight of Benzene according to PubChem?

  • Get the physicochemical properties for Glucose.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect PubChem once, then ask.

Link the MCP to your client once and you're set. Your credentials stay encrypted on our side, and the full walkthrough is on the Connector page.

Connect PubChem to your AI

FAQ

How the task behaves

  • 01

    Can the AI update chemical data in PubChem?

    No. The tools only allow the AI to search and retrieve existing data.

  • 02

    Can I upload my own custom molecules to the database?

    No. This Connector is for pulling data from PubChem, not for adding new entries.

  • 03

    Does the AI provide the data in a specific format?

    The AI presents the data in plain text or tables in your chat, depending on how you ask.

  • 04

    What happens if the compound isn't in PubChem?

    The agent will tell you it couldn't find a matching compound in the database.

  • 05

    Can the AI run chemical simulations?

    No. The AI only retrieves existing properties from PubChem; it doesn't run its own simulations.

  • More questions about PubChem? The Connector page answers them. See everything the PubChem Connector can do

Connect PubChem to Claude, Cursor, ChatGPT & more