MP

mysterionrise/pubchem-finder

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

12 stars 16 forks 质量 87 趋势 39MIT

在 PubChem 上与 RDKit 进行分子相似性搜索: CLI, Claude 的 MCP 服务器, 本地指纹索引

概览

搜索PubChem 通过化学结构 从你的终端或克劳德。 PubChem Finder为PubChem(所有,或您需要的切片)构建了精确相似性和子结构搜索的局部指纹指数,没有速率限制,包接了PubChem的活服务,用于命名,安全数据和生物测定,并加入了RDKit化学:结构图,医学-化学分类和描述. 本地的搜索工作从第一个问题, 内置的一组1,932 FDA批准的药物, 直到你建立 PubChem 指数。 它作为一个命令行工具,一个Python库和一个MCP服务器为克洛德桌面,克洛德代码和其他MCP客户端运行. 对PubChem的前444 794个化合物进行真正的搜索,从项目真实数据工作流程构建的索引中解析出来:阿司匹林与它所突出的原子的相似性命中,然后与突出的匹配物相匹配的硫酰胺SMARTS命中。 MP4版本.

概述(AI 翻译)

从您的化学结构搜索 PubChem 或从克洛德。 PubChem Finder 创建了 PubChem 的本地指纹索引( 全部) 或您需要的切片),用于精确的相似性和子结构搜索,无速率 并添加 RDKit。 化学:结构图,医学-化学分解和说明. 本地搜索作品来自 第一个问题,在一个内置的1,932 FDA批准的药物包上, 直到你建造一个PubChem 指数。 它作为一个命令行工具、 Python 库和一个 Claude桌面、 Claude 代码和其他 MCP 的 MCP 服务器 客户。

  • 根据指数对PubChem的前444 794个化合物进行真正的搜索。 项目的真数据工作流程构建: 阿司匹林与原子的相似性 从它突出显示,然后点击一个含有突出显示的匹配物的硫酰胺SMARTS。 MP4版本。 *

∮为什么这个∮

其他PubChem工具、MCP服务器和主机连接器包括: 浦城网API. 用来寻找化合物,但结构搜索通过 API是受速率限制的,在一般查询上出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出取出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出,出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

PubChem Finder

Search PubChem by chemical structure from your terminal or from Claude. PubChem Finder builds a local fingerprint index of PubChem (all of it, or the slice you need) for exact similarity and substructure search with no rate limits, wraps PubChem’s live services for names, safety data and bioassays, and adds RDKit chemistry: structure drawings, med-chem triage and descriptors. Local search works from the first question, on a built-in set of 1,932 FDA-approved drugs, until you build a PubChem index. It runs as a command-line tool, a Python library and an MCP server for Claude Desktop, Claude Code and other MCP clients.

Real searches over the first 444,794 compounds of PubChem, rendered from the index the project’s real-data workflow builds: similarity hits for aspirin with the atoms that differ from it highlighted, then hits for an aryl sulfonamide SMARTS with the match highlighted. MP4 version.

Why this one

Other PubChem tools, MCP servers and hosted connectors included, forward questions to PubChem’s web API. That works for looking compounds up, but structure search through the API is rate-limited, times out on generic queries and returns unscored samples. PubChem Finder also keeps a local index:

  • Exact, scored similarity search over every indexed compound (ECFP4 Tanimoto by default) in milliseconds, using FPSim2, the engine behind ChEMBL’s similarity search.
  • Local substructure search with SMILES or SMARTS: a fingerprint screen, then an atom-by-atom match, so every hit is a real match.
  • Offline chemistry with RDKit: descriptors, standardization, PAINS/Brenk/NIH alerts, QED, synthetic accessibility, and drawings that show what changed between analogues.
  • PubChem knowledge, cited: synonyms and CAS numbers, cross-references, GHS classification, pharmacology, toxicity and bioassay summaries, each with its source.
在 GitHub 查看完整 README

安装

uvx --python 3.14 pubchem-finder mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "pubchem-finder": { "command": "uvx", "args": ["--python", "3.14", "pubchem-finder", "mcp"] } } }