Evidence-backed web research for AI agents with citations and confidence scores.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add lastsearch --env LASTSEARCH_API_KEY='<LASTSEARCH_API_KEY>' -- npx -y lastsearch~/.codex/config.toml
[mcp_servers.lastsearch]
command = "npx"
args = ["-y", "lastsearch"]
env = { LASTSEARCH_API_KEY = "<LASTSEARCH_API_KEY>" }
# codex mcp add lastsearch --env LASTSEARCH_API_KEY='<LASTSEARCH_API_KEY>' -- npx -y lastsearch~/.cursor/mcp.json
{
"mcpServers": {
"lastsearch": {
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "<LASTSEARCH_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"lastsearch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "<LASTSEARCH_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"lastsearch": {
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "<LASTSEARCH_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"lastsearch": {
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "<LASTSEARCH_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"lastsearch": {
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "<LASTSEARCH_API_KEY>"
}
}
}
}需要的环境变量
LASTSEARCH_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。