An MCP (Model Context Protocol) server for accessing ChEMBL data. This server provides tools for querying the ChEMBL database for molecules, targets, assays, activities, and documents.
- Search for molecules by name, structure, or similarity
- Retrieve detailed information about molecules, targets, and assays
- Access bioactivity data and related documents
- Compatible with any MCP client, including Claude for Desktop
# Clone the repository
git clone https://github.com/BioContext/ChemBL-MCP.git
cd ChemBL-MCP
# Create a virtual environment
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txtpip install chembl-mcp# From source
python -m mcp_server
# If installed via pip
chembl-mcp- Install Claude for Desktop
- Configure Claude for Desktop to use this server by editing
~/Library/Application Support/Claude/claude_desktop_config.json(macOS/Linux) or%AppData%\Claude\claude_desktop_config.json(Windows):
{
"mcpServers": {
"chembl": {
"command": "python",
"args": [
"-m",
"mcp_server"
]
}
}
}- Restart Claude for Desktop
- You can now use the ChEMBL tools in Claude
- "Find information about aspirin in ChEMBL"
- "What are the targets of propranolol?"
- "Show me bioactivity data for compound CHEMBL25"
search_molecule: Search for molecules by name or structureget_molecule_details: Get detailed information about a moleculeget_similar_molecules: Find molecules similar to a given onesearch_targets: Search for biological targetsget_target_details: Get detailed information about a targetsearch_assays: Search for assaysget_bioactivities: Get bioactivity data for a molecule- And more...
# Clone the repository
git clone https://github.com/BioContext/ChemBL-MCP.git
cd ChemBL-MCP
# Create a virtual environment
uv venv
source .venv/bin/activate
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytestMIT License