Organic Chemistry Structure MCP Server
Organic Chemistry Structure MCP Server 🧪
Ein produktionsreifer Model Context Protocol (MCP)-Server, der es KI-Assistenten (ChatGPT, Gemini, Claude, Cursor, MCP Inspector) ermöglicht, präzise 2D-Strukturen der organischen Chemie, Reaktionen, Mechanismen, Resonanzbeiträge und Stereochemie deterministisch zu rendern, aufzulösen und direkt in KI-Konversationen anzuzeigen – mithilfe nativer MCP-Bildinhalte.
Hauptfunktionen
Direkte 2D-Darstellungen im Chat: Liefert native MCP-Bildinhalte (
image/pngbase64), sodass kompatible KI-Clients Strukturen direkt rendern, ohne einen externen Bildhost oder ein Diffusionsmodell zu benötigen.Deterministisches chemisches Rendering: Basiert auf RDKit und Cairo für publikationsreife Lehrbuchdarstellungen mit CPK-Standardfarben und klaren Skelettbindungen.
Mehrstufige Auflösung:
Kuratierte JEE-Voreinstellungen: 200+ Verbindungen und Reagenzien der Klassen 11/12 für JEE Main und Advanced, lokal geladen für sofortige Antworten (<10 ms).
SQLite-Persistenzcache: Cachet automatisch aufgelöste Verbindungen und vorgerenderte Darstellungen.
PubChem PUG REST API: Fallback-Abfrage für Tausende bekannter organischer Moleküle.
Mehrdeutigkeits-Engine: Rät niemals Isomere. Markiert mehrdeutige Namen (z. B. Kresol, Butanol, Xylol) und fordert zur Disambiguierung auf.
7 MCP-Tools:
show_structure: Visuelle 2D-Darstellung mit Formel, Molekulargewicht, SMILES und Quell-Metadaten.resolve_compound: Vollständige molekulare Metadaten als strukturiertes JSON.show_reaction: Publikationsreife, ausgerichtete Reaktionsgleichungen mit Bedingungen und Pfeilen.show_mechanism: Mehrstufige Mechanismen mit Zwischenstufen-Panels, formalen Ladungen und gekrümmten Pfeilen (SN1, SN2, EAS, Alken-Hydratation, Aldol).compare_structures: Molekulare Vergleichsraster nebeneinander.show_resonance: Kanonische Resonanzbeiträge in Klammern mit $\leftrightarrow$-Pfeilen.show_stereochemistry: Explizite 3D-Keil-und-Strich-Projektionen mit R/S- und E/Z-Beschriftungen.
Doppelte Transportschichten:
Streamable HTTP: Moderner
/mcp-Endpunkt für entfernte KI-Verbindungen.Stdio: Standard-Eingabe-/Ausgabe-Transport für lokale KI-Tools und die MCP-Inspector-CLI.
Test- und Admin-Webstudio: Entwickelt mit React + Vite + Tailwind CSS für Live-Tests, die Überprüfung von MCP-Aufrufen, das Durchsuchen von Voreinstellungen und die Überwachung der Servergesundheit.
Related MCP server: ChemCP
Schnellstart
1. Voraussetzungen
Node.js: v18+ (getestet mit Node.js v24)
Python: v3.10+ (getestet mit Python 3.12 und
.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. Erstellen und Ausführen
# 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-Endpunkt:
http://localhost:3000/mcpWeb-Test- und Admin-Studio:
http://localhost:3000/Healthcheck:
http://localhost:3000/health
Verbindung zu KI-Clients herstellen
1. Claude Desktop (stdio)
Fügen Sie Folgendes zu Ihrer claude_desktop_config.json hinzu:
{
"mcpServers": {
"organic-chemistry": {
"command": "npx",
"args": ["-y", "tsx", "C:/Users/TANMAY GARG/Desktop/chem/src/mcp/transports/stdioTransport.ts"]
}
}
}2. MCP Inspector
Um alle 7 Tools interaktiv zu überprüfen und zu testen:
npx @modelcontextprotocol/inspector npx tsx src/mcp/transports/stdioTransport.tsOder verbinden Sie sich über Streamable HTTP mit http://localhost:3000/mcp.
3. ChatGPT und entfernte KI-Clients
Stellen Sie den Server auf einer HTTPS-fähigen Domain bereit (z. B. https://your-mcp-domain.com/mcp) und konfigurieren Sie ihn als Custom Action oder MCP Connector.
Tests ausführen
# Run Node.js unit and integration tests (Vitest)
npm test
# Run Python RDKit engine tests (pytest)
npm run test:pythonLizenz
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