Skip to main content

MCP RDKit Project

Overview

The mcp_rdkit project integrates the RDKit library with the MCP (Model Context Protocol) framework to provide advanced chemical informatics tools. It includes functionalities for molecular visualization, descriptor calculation, and interaction with an MCP server.

Features

  • Molecular Visualization: Generate images of molecules using RDKit.
  • Descriptor Calculation: Compute molecular descriptors such as molecular weight, logP, and more.
  • MCP Server Integration: Communicate with an MCP server for advanced chemical informatics tasks.

Project Structure

  • mcp_rdkit/

    • __main__.py: Entry point for the application. It initializes the MCP server and runs it in "stdio" mode.
    • rdkit_helper.py: Contains helper functions for RDKit operations, including:
      • Converting PIL images to base64.
      • Interfacing with the MCP server.
      • Utilizing RDKit for chemical computations.
  • setup.py: Configuration for packaging and distribution.

Requirements

  • Python 3.8 or higher
  • RDKit library
  • MCP framework

Installation

  1. Install the package using pip:

    pip install mcp-rdkit
    
  2. Run the application:

    python -m mcp_rdkit
    

Demo

You can integrate this directly into Claude App:

Demo 1 Demo 2 Demo 3

Usage

  • Run the MCP server: The application starts an MCP server that can process chemical informatics tasks.

  • Generate molecular images: Use the RDKit helper functions to visualize molecules.

  • Calculate descriptors: Leverage RDKit's descriptor calculation tools for chemical analysis.

MCP Configuration Example

To use the RDKit server with MCP, add the following configuration to your mcp config file:

"rdkit-server": {
  "type": "stdio",
  "command": "python",
  "args": [
    "-m",
    "mcp_rdkit"
  ]
}

smithery badge

Metadata

Release files for mcp-rdkit 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-rdkit 0.1.9
File Size Uploaded Provenance
mcp_rdkit-0.1.9.tar.gz 4.0 kB Without provenance Details

Release files / mcp_rdkit-0.1.9.tar.gz

Download URL mcp_rdkit-0.1.9.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ffc602dda232d529066f8bd2b1e5de8bcd36ea6b4cf7d6f34951898bc733c2b2
BLAKE2b-256 checksum
How to use checksums
ca30bfc603d173515ef46b411f8d0fabe9aa57b63c4c46abfb8e497caa029108
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Security for mcp-rdkit 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page