Organic Chemistry Structure MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Organic Chemistry Structure MCP ServerCan you show me the structure of aspirin?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Organic Chemistry Structure MCP Server 🧪
A production-quality Model Context Protocol (MCP) Server designed to allow AI assistants (ChatGPT, Gemini, Claude, Cursor, MCP Inspector) to deterministically render, resolve, and display accurate 2D organic chemistry structures, reactions, mechanisms, resonance contributors, and stereochemistry directly inside AI conversations using native MCP image content.
Key Features
Direct In-Chat 2D Depictions: Returns native MCP image content items (
image/pngbase64) so compatible AI clients render structures directly without requiring an external image host or diffusion model.Deterministic Chemical Rendering: Powered by RDKit and Cairo for publication-quality textbook depictions with CPK standard colors and clear skeletal bonds.
Multi-Tier Resolution:
Curated JEE Presets: 200+ Class 11/12 JEE Main and Advanced compounds and reagents loaded locally for instantaneous (<10ms) responses.
SQLite Persistent Cache: Auto-caches resolved compounds and pre-rendered depictions.
PubChem PUG REST API: Fallback lookup for thousands of known organic molecules.
Ambiguity Engine: Never guesses isomers. Flags ambiguous names (e.g. cresol, butanol, xylene) and prompts for disambiguation.
7 MCP Tools:
show_structure: Visual 2D depiction with formula, MW, SMILES, and source metadata.resolve_compound: Complete molecular metadata in structured JSON.show_reaction: Publication-quality aligned reaction equations with conditions and arrows.show_mechanism: Multi-step mechanisms with intermediate panels, formal charges, and curved arrows (SN1, SN2, EAS, Alkene Hydration, Aldol).compare_structures: Side-by-side molecular comparison grids.show_resonance: Resonance canonical contributors enclosed in brackets with $\leftrightarrow$ arrows.show_stereochemistry: Explicit 3D wedge-and-dash projections with R/S and E/Z annotations.
Dual Transports:
Streamable HTTP: Modern
/mcpendpoint for remote AI connections.Stdio: Standard input/output transport for local AI tools and MCP Inspector CLI.
Testing & Admin Web Studio: Built with React + Vite + Tailwind CSS for live testing, inspecting MCP calls, browsing presets, and monitoring server health.
Related MCP server: ChemCP
Quick Start
1. Prerequisites
Node.js: v18+ (tested on Node.js v24)
Python: v3.10+ (tested on Python 3.12 with
.venv)
2. Installation
# Clone or open the repository directory
cd chem
# Install Node.js dependencies
npm install
# Setup Python virtual environment and chemistry dependencies
py -3.12 -m venv .venv
.\.venv\Scripts\python -m pip install rdkit pillow fastapi uvicorn pydantic requests pytest3. Build & Run
# Build the TypeScript backend & React frontend
npm run build
cd web && npm run build && cd ..
# Start the unified MCP server & Web Studio (starts Node and Python engine automatically)
npm run dev
# Or for production:
npm startMCP Streamable HTTP Endpoint:
http://localhost:3000/mcpWeb Testing & Admin Studio:
http://localhost:3000/Healthcheck:
http://localhost:3000/health
Live Deployment & AI Connection
Live Web Dashboard: https://chem-ten-dun.vercel.app/
Live Streamable HTTP MCP Endpoint:
https://chem-ten-dun.vercel.app/mcp
Connecting to AI Clients
1. Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"organic-chemistry": {
"url": "https://chem-ten-dun.vercel.app/mcp"
}
}
}2. Cursor IDE & Cline
In .cursor/mcp.json or Settings $\rightarrow$ MCP:
{
"mcpServers": {
"organic-chemistry": {
"url": "https://chem-ten-dun.vercel.app/mcp"
}
}
}3. Master AI System Prompt (ChatGPT / Claude / Gemini)
Paste the following prompt into your Custom GPT instructions, Claude Project, or System Prompt:
You are an expert Organic Chemistry AI Assistant integrated with the Organic Chemistry Structure MCP Server (https://chem-ten-dun.vercel.app/mcp).
Whenever explaining chemical compounds, reactions, mechanisms, resonance, comparisons, or stereochemistry, PROACTIVELY CALL the MCP tools:
- show_structure: { "compound": "..." }
- show_reaction: { "reactants": ["..."], "products": ["..."], "conditions": "..." }
- show_mechanism: { "reaction": "..." }
- compare_structures: { "compounds": ["...", "..."] }
- show_resonance: { "compound": "..." }
- show_stereochemistry: { "compound": "...", "configuration": "R" | "S" }Running Tests
# Run Node.js unit and integration tests (Vitest)
npm test
# Run Python RDKit engine tests (pytest)
npm run test:pythonLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityBmaintenanceEnables chemical reaction predictions (retrosynthesis, product, reagents), molecule validation, and property calculation through the Model Context Protocol, integrating with AI assistants.5MIT
- AlicenseAqualityDmaintenanceRenders interactive 2D molecular structure diagrams from SMILES notation and computes molecular properties like molecular weight, LogP, and TPSA, directly in the chat.1551ISC
- AlicenseNot gradedqualityAmaintenanceEnables generation of chemical structures, reactions, spectra, titration curves, 3D models, and more from natural language or SMILES, using RDKit for offline rendering and supporting formats like PNG, SVG, CDXML, and Anki decks.9Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server that connects AI assistants to a live Ketcher window, the open-source web-based chemical structure editor. Draw, edit, and organize structures directly in the canvas you have open.MIT
Related MCP Connectors
AI-callable calculators and engineering models with real formulas. No hallucinated math.
Renders interactive Chart.js charts and dashboards inline in AI conversations.
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TanmayGarg2009/chem'
If you have feedback or need assistance with the MCP directory API, please join our Discord server