Chemspace
БесплатноНе проверенMCP server enabling AI agents to search for synthesizable building blocks and screening compounds
Описание
MCP server enabling AI agents to search for synthesizable building blocks and screening compounds
README
A Model Context Protocol (MCP) server that provides a wrapper for the Chemspace API, enabling AI agents to search for synthesizable building blocks and screening compounds through exact, substructure, and similarity searches.
Features
- Exact Search: Find exact molecular matches by SMILES
- Substructure Search: Find compounds containing a specific substructure
- Similarity Search: Find structurally similar compounds by SMILES
- Multiple Product Categories: Search across in-stock and make-on-demand compounds
- Global Shipping: Specify shipping countries with ISO country codes
Requirements
- Python 3.13+
- Chemspace API key
Installation
Prerequisites
Install uv:
# macOS
brew install uv
# Linux/WSL2
curl -LsSf https://astral.sh/uv/install.sh | sh
Setup
Clone the repository and navigate to the project directory
Set your Chemspace API key as an environment variable:
export CHEMSPACE_API_KEY="your-api-key-here"Install dependencies and run:
uv run chemspace-mcp
Configuration
For use with FastAgent
Configure example/fastagent.secrets.yaml. Environment variables set here will override the ones in your shell:
anthropic:
api_key: your-anthropic-api-key
mcp:
servers:
chemspace:
env:
CHEMSPACE_API_KEY: your-chemspace-api-key
Then run the example interface with FastAgent:
cd example
uv run --extra agent agent.py
Usage
The MCP server exposes the following tools:
search_exact
Searches for exact molecular matches by SMILES string.
Parameters:
smiles(string): The SMILES string to search forshipToCountry(string): Two-letter ISO country code (default: "US")count(integer): Maximum results per page (default: 10)page(integer): Page number for pagination (default: 1)categories(list): Product categories to search:CSSB: In-stock building blocksCSSS: In-stock screening compoundsCSMB: Make-on-demand building blocksCSMS: Make-on-demand screening compoundsCSCS: Custom requests
search_substructure
Searches for compounds containing a specific substructure.
Parameters: Same as search_exact
search_similarity
Searches for structurally similar compounds.
Parameters: Same as search_exact
Project Structure
chemspace-mcp/
├── src/
│ └── chemspace_mcp/
│ ├── __init__.py # Entry point and MCP server initialization
│ ├── tools.py # Tool definitions for chemical searches
│ └── tokenmanager.py # Token management for API authentication
├── example/
│ ├── agent.py # Example FastAgent integration
│ ├── fastagent.config.yaml # FastAgent configuration
│ └── fastagent.secrets.yaml # Secrets configuration (not in version control)
├── pyproject.toml # Project metadata and dependencies
└── README.md # This file
Development
Dependencies
fastmcp>=2.13.1: Core MCP server frameworkfast-agent-mcp>=0.2.25: FastAgent integration
License
MIT License
Support
For issues or questions, please open an issue on the project repository.
Установка Chemspace
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/lukasmki/chemspace-mcpFAQ
Chemspace MCP бесплатный?
Да, Chemspace MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Chemspace?
Нет, Chemspace работает без API-ключей и переменных окружения.
Chemspace — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Chemspace в Claude Desktop, Claude Code или Cursor?
Открой Chemspace на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Chemspace with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
