# Pubchem MCP Server

> Pubchem MCP Server is an open-source MCP server. Search PubChem compounds, properties, safety data, bioactivity, and cross-references. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/cyanheads/pubchem-mcp-server
- **MCP Registry name:** io.github.cyanheads/pubchem-mcp-server
- **Listing updated:** 2026-11-13

## About

Search PubChem compounds, properties, safety data, bioactivity, and cross-references.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http pubchem-mcp-server https://pubchem.caseyjhand.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://pubchem.caseyjhand.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pubchem-mcp-server": {
      "url": "https://pubchem.caseyjhand.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "pubchem-mcp-server": {
      "type": "http",
      "url": "https://pubchem.caseyjhand.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "pubchem-mcp-server": {
      "serverUrl": "https://pubchem.caseyjhand.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pubchem-mcp-server": {
      "type": "http",
      "url": "https://pubchem.caseyjhand.com/mcp"
    }
  }
}
```

## FAQ

### Is Pubchem MCP Server free?

Yes. Pubchem MCP Server is open source, so you can use and self-host it for free.

### How do I add Pubchem MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http pubchem-mcp-server https://pubchem.caseyjhand.com/mcp

---
Source: https://ai-powered.com/mcp/pubchem-mcp-server
