• DATA
  • STRUCTURE
  • SEARCH
  • HUMAN

How to lookup chemical properties with your AI

Connect the PubChem PUG REST API to your agent. Once connected, you can pull specific chemical data using nothing but a compound name.

Ask AI about this page

Short answer

How do I find chemical properties using my AI?

Tell your AI the name of the compound you are researching. It uses the PubChem PUG REST API to find the exact molecular details and metadata you need. You'll get specific data points like molecular weight and structure immediately.

The results you get

What your AI delivers

The AI handles the database queries so you can focus on the chemistry.

DATA

Technical metadata

The AI pulls specific identifiers and physical properties for the compound you named. You get the raw facts without manual searching.

STRUCTURE

Molecular details

Your agent retrieves structural information and chemical formulas. This helps you verify the exact identity of a substance.

SEARCH

Name-to-data mapping

The AI translates a simple text name into a precise PubChem record. It eliminates the need to navigate complex web interfaces.

HUMAN

Expert interpretation

The AI provides the data, but you decide if the properties match your specific research requirements. You remain the final authority on the results.

The workflow

What your AI does when a name arrives.

The AI acts as a bridge between your chat interface and the PubChem database.

  1. Identify the compound

    The AI takes the name you typed and prepares it for a database lookup.

    get_compound_by_name
  2. Query PubChem

    The agent calls the API to find the specific record matching that name.

    get_compound_by_name
  3. Extract properties

    The AI parses the technical metadata returned by the API.

    get_compound_by_name
  4. Present findings

    The agent formats the molecular weight, formula, and other details into a readable response.

    get_compound_by_name

Try it

Copy these to start.

Use these prompts to trigger the chemical lookup immediately.

Starting points

Swap out the specific chemical names for the ones you are actually working with.

PubChem Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_39PvvjDIh0Gw5sIiVCJqmFBNo6SJy2fu1ixaSd7V/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-pug-rest-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_39PvvjDIh0Gw5sIiVCJqmFBNo6SJy2fu1ixaSd7V/mcp"
    }
  }
}
Copy into chat04
  • Look up the chemical properties for Caffeine.

  • What is the molecular weight of Aspirin?

  • Find the structural details for Glucose.

  • Get the technical metadata for Benzene.

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

Start here

Connect PubChem PUG REST API once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start querying PubChem right away.

Connect PubChem PUG REST API to your AI

FAQ

How this task behaves

  • 01

    Can the AI change data in PubChem?

    No. The AI can only read data from PubChem. It cannot edit or delete any chemical records.

  • 02

    Does the AI need a CID number to work?

    No. You can use a common compound name, and the AI will find the correct record for you.

  • 03

    Can the AI perform chemical simulations?

    No. The AI only retrieves existing metadata and properties from the database.

  • 04

    Can I use this with Claude?

    Yes, as long as you are using an MCP-compatible client like Claude Desktop.

  • 05

    Will the AI suggest new compounds?

    The AI only provides information on the specific compounds you ask about.

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

Connect PubChem to Claude, Cursor, ChatGPT & more