شعار 非官方的SureChEMBL MCP服务器

非官方的SureChEMBL MCP服务器

مؤسسة
Augmented-Nature

A comprehensive Model Context Protocol (MCP) server for accessing the SureChEMBL chemical patent database.

الناشرAugmented-Nature
المستودعSureChEMBL-MCP-Server
اللغةJavaScript
التفريعات
5
النجوم
7
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الروابط
  • اربط الأدوات بمسارات عمل الذكاء الاصطناعي

    يتيح 非官方的SureChEMBL MCP服务器 إمكانات MCP لتطبيقات الذكاء الاصطناعي العميلة المتوافقة معه، وكذلك لوكلاء الذكاء الاصطناعي المتوافقين معه.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم مقتطفات التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات اهتمام المجتمع بالمستودع مفتوح المصدر

    إحصاءات المستودع المرتبط: النجوم: 7، والتفريعات: 5.

SureChEMBL MCP Server Logo

Unofficial SureChEMBL MCP Server

A comprehensive Model Context Protocol (MCP) server for accessing the SureChEMBL chemical patent database. This server provides tools for patent search, chemical discovery, structure analysis, and patent intelligence research.

Developed by Augmented Nature

Overview

SureChEMBL is a large-scale chemical patent database that provides access to chemical structures and their associated patent documents. This MCP server enables seamless integration with SureChEMBL's API, offering powerful tools for:

  • Patent Intelligence: Search and analyze chemical patents
  • Chemical Discovery: Find compounds and their patent coverage
  • Prior Art Research: Identify existing chemical disclosures
  • Competitive Analysis: Track chemical developments by companies
  • Structure-Activity Analysis: Correlate chemical structures with patent claims

Features

🔍 Document & Patent Search (4 tools)

  • search_patents - Search patents by text, keywords, or identifiers
  • get_document_content - Get complete patent document content with chemical annotations
  • get_patent_family - Get patent family members and relationships
  • search_by_patent_number - Search by specific patent numbers

🧪 Chemical Search & Retrieval (4 tools)

  • search_chemicals_by_name - Search chemicals by name or synonym
  • get_chemical_by_id - Get detailed chemical information by SureChEMBL ID
  • search_by_smiles - Search chemicals by SMILES structure notation
  • search_by_inchi - Search chemicals by InChI/InChI key

🖼️ Structure & Visualization (2 tools)

  • get_chemical_image - Generate chemical structure images
  • get_chemical_properties - Get molecular properties and descriptors

📊 Data Export & Analysis (2 tools)

  • export_chemicals - Bulk export chemical data (CSV/XML)
  • analyze_patent_chemistry - Analyze chemical content in patents

🔬 Advanced Analysis Tools (3 tools)

  • get_chemical_frequency - Get frequency statistics for chemicals across patent database
  • search_similar_structures - Find structurally similar chemicals using similarity search
  • get_patent_statistics - Get statistical overview of chemical content in patents

📚 Resource Templates

  • surechembl://document/{doc_id} - Patent document content
  • surechembl://chemical/{chem_id} - Chemical compound data
  • surechembl://family/{patent_id} - Patent family information
  • surechembl://search/{query} - Search results

Installation

Prerequisites

  • Node.js 18+
  • npm or yarn

Install Dependencies

bash
npm install

Build the Server

bash
npm run build

Development Mode

bash
npm run watch

Usage

Running the Server

bash
npm start

Using with Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

json
{
  "mcpServers": {
    "surechembl-server": {
      "command": "node",
      "args": ["/path/to/surechembl-server/build/index.js"]
    }
  }
}

Using with MCP Inspector

bash
npm run inspector

API Examples

Search for Chemicals by Name

typescript
// Search for aspirin-related compounds
await use_mcp_tool({
  server_name: "surechembl-server",
  tool_name: "search_chemicals_by_name",
  arguments: {
    name: "aspirin",
    limit: 10,
  },
});

Get Patent Document Content

typescript
// Get full patent document with chemical annotations
await use_mcp_tool({
  server_name: "surechembl-server",
  tool_name: "get_document_content",
  arguments: {
    document_id: "WO-2020096695-A1",
  },
});

Generate Chemical Structure Image

typescript
// Generate structure image from SMILES
await use_mcp_tool({
  server_name: "surechembl-server",
  tool_name: "get_chemical_image",
  arguments: {
    structure: "CC(=O)OC1=CC=CC=C1C(=O)O",
    width: 300,
    height: 200,
  },
});

Analyze Patent Chemistry

typescript
// Analyze chemical annotations in a patent
await use_mcp_tool({
  server_name: "surechembl-server",
  tool_name: "analyze_patent_chemistry",
  arguments: {
    document_id: "US-2021123456-A1",
  },
});

Tool Reference

Document & Patent Search

search_patents

Search patents by text, keywords, or identifiers.

Parameters:

  • query (string, required): Search query
  • limit (number, optional): Results limit (1-1000, default: 25)
  • offset (number, optional): Results offset (default: 0)

get_document_content

Get complete patent document content with chemical annotations.

Parameters:

  • document_id (string, required): Patent document ID (e.g., WO-2020096695-A1)

get_patent_family

Get patent family members and relationships.

Parameters:

  • patent_id (string, required): Patent ID to find family members for

search_by_patent_number

Search for patents by specific patent numbers.

Parameters:

  • patent_number (string, required): Patent or publication number

Chemical Search & Retrieval

search_chemicals_by_name

Search for chemicals by name, synonym, or common name.

Parameters:

  • name (string, required): Chemical name or synonym
  • limit (number, optional): Results limit (1-1000, default: 25)

get_chemical_by_id

Get detailed chemical information by SureChEMBL chemical ID.

Parameters:

  • chemical_id (string, required): SureChEMBL chemical ID (numeric)

search_by_smiles

Search for chemicals by SMILES structure notation.

Parameters:

  • smiles (string, required): SMILES string
  • limit (number, optional): Results limit (1-1000, default: 25)

search_by_inchi

Search for chemicals by InChI or InChI key.

Parameters:

  • inchi (string, required): InChI string or InChI key
  • limit (number, optional): Results limit (1-1000, default: 25)

Structure & Visualization

get_chemical_image

Generate chemical structure image from SMILES or other structure notation.

Parameters:

  • structure (string, required): SMILES string or structure notation
  • height (number, optional): Image height in pixels (default: 200)
  • width (number, optional): Image width in pixels (default: 200)

get_chemical_properties

Get molecular properties and descriptors for a chemical.

Parameters:

  • chemical_id (string, required): SureChEMBL chemical ID

Data Export & Analysis

export_chemicals

Bulk export chemical data in CSV or XML format.

Parameters:

  • chemical_ids (array, required): Array of SureChEMBL chemical IDs (1-100)
  • output_type (string, optional): Export format - 'csv' or 'xml' (default: csv)
  • kind (string, optional): ID type - 'cid' or 'smiles' (default: cid)

analyze_patent_chemistry

Analyze chemical content and annotations in a patent document.

Parameters:

  • document_id (string, required): Patent document ID to analyze

Advanced Analysis Tools

get_chemical_frequency

Get frequency statistics for chemicals across the patent database.

Parameters:

  • chemical_id (string, required): SureChEMBL chemical ID

search_similar_structures

Find structurally similar chemicals using similarity search.

Parameters:

  • reference_id (string, required): Reference chemical ID for similarity search
  • threshold (number, optional): Similarity threshold (0.0-1.0, default: 0.7)
  • limit (number, optional): Number of results to return (1-100, default: 25)

get_patent_statistics

Get statistical overview of chemical content in patents.

Parameters:

  • document_id (string, required): Patent document ID for statistics
  • include_annotations (boolean, optional): Include detailed annotation statistics (default: true)

Resource Templates

Document Resource

surechembl://document/{doc_id}

Access complete patent document content with chemical annotations.

Chemical Resource

surechembl://chemical/{chem_id}

Access chemical compound information and properties.

Patent Family Resource

surechembl://family/{patent_id}

Access patent family members and relationships.

Search Resource

surechembl://search/{query}

Access chemical search results for a query.

Error Handling

The server includes comprehensive error handling for:

  • Invalid API parameters
  • Network timeouts and connection issues
  • API rate limiting
  • Malformed chemical structures
  • Missing documents or chemicals

All errors are returned with descriptive messages and appropriate error codes.

Rate Limiting

The server respects SureChEMBL's API rate limits:

  • 30-second timeout for complex requests
  • Respectful request spacing
  • Automatic retry logic for transient failures

Development

Project Structure

surechembl-server/
├── src/
│   └── index.ts          # Main server implementation
├── build/                # Compiled JavaScript
├── package.json          # Dependencies and scripts
├── tsconfig.json         # TypeScript configuration
└── README.md            # This file

Available Scripts

  • npm run build - Compile TypeScript to JavaScript
  • npm run watch - Watch mode for development
  • npm run inspector - Run MCP inspector
  • npm start - Start the server
  • npm run dev - Development mode with watch

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see LICENSE file for details.

Support

For issues and questions:

Related Projects

Citation

If you use this project in your research or publications, please cite it as follows:

bibtex
author = {Moudather Chelbi},
title = {SureChEMBL MCP Server},
year = {2025},
howpublished = {https://github.com/Augmented-Nature/SureChEMBL-MCP-Server},
note = {Accessed: 2025-06-29}
---

**SureChEMBL MCP Server** - Empowering chemical patent intelligence through the Model Context Protocol.

التثبيت

TypingMind
المتطلبات المسبقة:

Node.js 18+

{
  "mcpServers": {
    "augmented-nature-surechembl-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

استخدم MCP الخاص بـ 非官方的SureChEMBL MCP服务器 مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل 非官方的SureChEMBL MCP服务器، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal مفتوحة واترك العملية قيد التشغيل أثناء استخدام أدوات MCP.
3

إضافة 非官方的SureChEMBL MCP服务器 كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ 非官方的SureChEMBL MCP服务器.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "augmented-nature-surechembl-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "surechembl-server"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ 非官方的SureChEMBL MCP服务器، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ 非官方的SureChEMBL MCP服务器.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام 非官方的SureChEMBL MCP服务器 لمساعدتي في هذه المهمة؟
非官方的SureChEMBL MCP服务器
بالتأكيد. قرأته.
إليك ما وجدته باستخدام 非官方的SureChEMBL MCP服务器.

الأسئلة الشائعة

ما استخدامات خادم MCP 非官方的SureChEMBL MCP服务器؟

非官方的SureChEMBL MCP服务器 هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP 非官方的SureChEMBL MCP服务器 مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام 非官方的SureChEMBL MCP服务器 مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم خادم MCP 非官方的SureChEMBL MCP服务器 مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل 非官方的SureChEMBL MCP服务器، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP 非官方的SureChEMBL MCP服务器 بـ TypingMind؟

يعمل 非官方的SureChEMBL MCP服务器 عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP 非官方的SureChEMBL MCP服务器 في TypingMind؟

يتيح 非官方的SureChEMBL MCP服务器 إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP 非官方的SureChEMBL MCP服务器؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويتيح لك التحكم بنفسك في مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP. إذا كان 非官方的SureChEMBL MCP服务器 يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇