Organic Chemistry Structure MCP Server
Organic Chemistry Structure MCP Server 🧪
AIアシスタント(ChatGPT、Gemini、Claude、Cursor、MCP Inspector)が、ネイティブなMCP画像コンテンツを使用して、正確な2D有機化学構造、反応、機構、共鳴構造、立体化学をAI会話内で直接、決定的にレンダリング、解決、表示できるように設計された、本番品質の**Model Context Protocol(MCP)**サーバーです。
主な機能
チャット内直接2D描画: ネイティブなMCP画像コンテンツアイテム(
image/pngbase64)を返すため、互換性のあるAIクライアントは外部の画像ホストや拡散モデルを必要とせずに構造を直接レンダリングできます。決定的化学レンダリング: RDKitとCairoを搭載し、CPK標準色と明瞭な骨格結合による出版物品質の教科書的描画を実現。
多層解決:
厳選されたJEEプリセット: クラス11/12のJEE MainおよびAdvancedの200以上の化合物と試薬をローカルに読み込み、瞬時(<10ms)の応答を実現。
SQLite永続キャッシュ: 解決済みの化合物と事前レンダリングされた描画を自動キャッシュ。
PubChem PUG REST API: 数千の既知の有機分子のフォールバック検索。
曖昧性エンジン: 異性体を推測しません。曖昧な名前(例: cresol、butanol、xylene)をフラグ付けし、曖昧性の解消を促します。
7つのMCPツール:
show_structure: 分子式、分子量、SMILES、ソースメタデータを含む視覚的な2D描画。resolve_compound: 構造化JSONでの完全な分子メタデータ。show_reaction: 条件と矢印を備えた出版物品質の整列反応式。show_mechanism: 中間体パネル、形式電荷、曲線矢印を備えた多段階機構(SN1、SN2、EAS、アルケンの水和、アルドール)。compare_structures: 分子の並列比較グリッド。show_resonance: 括弧で囲まれ、$\leftrightarrow$矢印で結ばれた共鳴の正準寄与構造。show_stereochemistry: R/SおよびE/Z注釈付きの明示的な3Dくさび・破線投影。
デュアルトランスポート:
Streamable HTTP: リモートAI接続用の最新の
/mcpエンドポイント。Stdio: ローカルAIツールおよびMCP Inspector CLI用の標準入出力トランスポート。
テスト&管理Webスタジオ: React + Vite + Tailwind CSSで構築され、ライブテスト、MCP呼び出しの検査、プリセットの閲覧、サーバーヘルスの監視を実現。
Related MCP server: ChemCP
クイックスタート
1. 前提条件
Node.js: v18以上(Node.js v24でテスト済み)
Python: v3.10以上(
.venvを使用してPython 3.12でテスト済み)
2. インストール
# 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 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エンドポイント:
http://localhost:3000/mcpWebテスト&管理スタジオ:
http://localhost:3000/ヘルスチェック:
http://localhost:3000/health
AIクライアントへの接続
1. Claude Desktop(stdio)
次の内容をclaude_desktop_config.jsonに追加してください:
{
"mcpServers": {
"organic-chemistry": {
"command": "npx",
"args": ["-y", "tsx", "C:/Users/TANMAY GARG/Desktop/chem/src/mcp/transports/stdioTransport.ts"]
}
}
}2. MCP Inspector
7つのツールすべてを対話的に検査およびテストするには:
npx @modelcontextprotocol/inspector npx tsx src/mcp/transports/stdioTransport.tsまたは、Streamable HTTP経由でhttp://localhost:3000/mcpに接続します。
3. ChatGPTおよびリモートAIクライアント
サーバーをHTTPS対応ドメイン(例: https://your-mcp-domain.com/mcp)にデプロイし、カスタムアクションまたはMCPコネクタとして設定します。
テストの実行
# Run Node.js unit and integration tests (Vitest)
npm test
# Run Python RDKit engine tests (pytest)
npm run test:pythonライセンス
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