pubchem-smiles-search
Search PubChem database using SMILES strings to retrieve compound information and chemical properties.
Best use case
pubchem-smiles-search is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Search PubChem database using SMILES strings to retrieve compound information and chemical properties.
Teams using pubchem-smiles-search should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/pubchem-smiles-search/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How pubchem-smiles-search Compares
| Feature / Agent | pubchem-smiles-search | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Search PubChem database using SMILES strings to retrieve compound information and chemical properties.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# PubChem SMILES Search
## Usage
```python
import asyncio
import json
from contextlib import AsyncExitStack
from mcp.client.streamable_http import streamablehttp_client
from mcp import ClientSession
class OrigeneClient:
def __init__(self, server_url: str, api_key: str):
self.server_url = server_url
self.api_key = api_key
self.session = None
async def connect(self):
try:
self.transport = streamablehttp_client(url=self.server_url, headers={"SCP-HUB-API-KEY": self.api_key})
self._stack = AsyncExitStack()
await self._stack.__aenter__()
self.read, self.write, self.get_session_id = await self._stack.enter_async_context(self.transport)
self.session_ctx = ClientSession(self.read, self.write)
self.session = await self._stack.enter_async_context(self.session_ctx)
await self.session.initialize()
return True
except Exception as e:
return False
async def disconnect(self):
"""Disconnect from server"""
try:
if hasattr(self, '_stack'):
await self._stack.aclose()
print("✓ already disconnect")
except Exception as e:
print(f"✗ disconnect error: {e}")
def parse_result(self, result):
if isinstance(result, dict):
content_list = result.get("content") or []
else:
content_list = getattr(result, "content", []) or []
texts = []
for item in content_list:
if isinstance(item, dict):
if item.get("type") == "text":
texts.append(item.get("text") or "")
else:
if getattr(item, "type", None) == "text":
texts.append(getattr(item, "text", "") or "")
return "".join(texts)
## Initialize and use
client = OrigeneClient("https://scp.intern-ai.org.cn/api/v1/mcp/8/Origene-PubChem", "<your-api-key>")
await client.connect()
result = await client.session.call_tool("search_pubchem_by_smiles", arguments={"smiles": "C[C@H](N)C(=O)O"})
print(client.parse_result(result))
await client.disconnect()
```
### Tool: `search_pubchem_by_smiles`
- Args: `smiles` (str) - SMILES notation
- Returns: PubChem compound data including CID, name, properties
### Use Cases
- Compound identification, chemical property lookup, drug database searchRelated Skills
substructure_activity_search
Substructure-Activity Relationship - Analyze substructure-activity: ChEMBL substructure search, activity data, PubChem compounds, and similarity. Use this skill for medicinal chemistry tasks involving get substructure by smiles search activity search pubchem by smiles calculate smiles similarity. Combines 4 tools from 3 SCP server(s).
smiles_comprehensive_analysis
SMILES Comprehensive Analysis - Comprehensive SMILES analysis: validate, convert name, compute all molecular descriptors, and predict ADMET. Use this skill for cheminformatics tasks involving is valid smiles ChemicalStructureAnalyzer calculate mol basic info pred molecule admet. Combines 4 tools from 3 SCP server(s).
smiles-to-cas-conversion
Convert SMILES strings to CAS registry numbers using material informatics tools to identify chemical substances.
scientific-literature-search
Search scientific literature and research papers using FlowSearch to find relevant academic articles and publications.
Researcher Rigor Gate
Use before plan submission, major plan revision, and major stage transitions. Verify alignment, feasibility, rigor, completeness, and prevent unjustified regressions to earlier workflow phases.
Researcher Replan And Recovery
Use when the workflow hits contradictions, missing evidence, failed runs, design flaws, or resource shifts. Diagnose the failure class, choose the narrowest safe correction, and escalate to the user when the core plan changes.
Researcher Plan Architect
Use when the Researcher must convert a confirmed scientific goal into a staged, executable research plan with role assignments, milestones, resources, checkpoints, and risk controls.
Researcher Dispatch Supervisor
Use after the user confirms the plan. Dispatch the next justified worker task, supervise progress, enforce artifact-backed completion, and keep the workflow aligned with the approved plan.
Researcher Context Audit
Use when the Researcher starts, resumes, or reaches a major decision point. Build a context inventory from workstation materials, prior messages, existing artifacts, requirements, and unfinished work.
Researcher Ambiguity Gate
Use when the research goal, evaluation target, scope, resources, timeline, or decision criteria are ambiguous, conflicting, or not operationally testable.
Research Ideation Full
Use when the user wants the full research ideation workflow grounded in one seed paper, including complete ideation, feasibility review, experiment planning, and final synthesis, or makes an equivalent ideation request in another language.
pubmed-article-search
Search PubMed database for scientific articles and publications to retrieve biomedical literature.