MCP server giving AI assistants verifiable access to PubMed, Europe PMC, US/UK drug labelling, and ClinicalTrials.gov. Built by PharmaTools.AI.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add pubcrawl --env NCBI_API_KEY='<NCBI_API_KEY>' -- npx -y @pharmatools/pubcrawl~/.codex/config.toml
[mcp_servers.pubcrawl]
command = "npx"
args = ["-y", "@pharmatools/pubcrawl"]
env = { NCBI_API_KEY = "<NCBI_API_KEY>" }
# codex mcp add pubcrawl --env NCBI_API_KEY='<NCBI_API_KEY>' -- npx -y @pharmatools/pubcrawl~/.cursor/mcp.json
{
"mcpServers": {
"pubcrawl": {
"command": "npx",
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"env": {
"NCBI_API_KEY": "<NCBI_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"pubcrawl": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"env": {
"NCBI_API_KEY": "<NCBI_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pubcrawl": {
"command": "npx",
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"env": {
"NCBI_API_KEY": "<NCBI_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"pubcrawl": {
"command": "npx",
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"env": {
"NCBI_API_KEY": "<NCBI_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"pubcrawl": {
"command": "npx",
"args": [
"-y",
"@pharmatools/pubcrawl"
],
"env": {
"NCBI_API_KEY": "<NCBI_API_KEY>"
}
}
}
}需要的环境变量
NCBI_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。