Official Search1API server for web search, news, crawling, sitemaps and trends; requires a paid API key.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add search1api --env SEARCH1API_KEY='<SEARCH1API_KEY>' -- npx -y search1api-mcp~/.codex/config.toml
[mcp_servers.search1api]
command = "npx"
args = ["-y", "search1api-mcp"]
env = { SEARCH1API_KEY = "<SEARCH1API_KEY>" }
# codex mcp add search1api --env SEARCH1API_KEY='<SEARCH1API_KEY>' -- npx -y search1api-mcp~/.cursor/mcp.json
{
"mcpServers": {
"search1api": {
"command": "npx",
"args": [
"-y",
"search1api-mcp"
],
"env": {
"SEARCH1API_KEY": "<SEARCH1API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"search1api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"search1api-mcp"
],
"env": {
"SEARCH1API_KEY": "<SEARCH1API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"search1api": {
"command": "npx",
"args": [
"-y",
"search1api-mcp"
],
"env": {
"SEARCH1API_KEY": "<SEARCH1API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"search1api": {
"command": "npx",
"args": [
"-y",
"search1api-mcp"
],
"env": {
"SEARCH1API_KEY": "<SEARCH1API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"search1api": {
"command": "npx",
"args": [
"-y",
"search1api-mcp"
],
"env": {
"SEARCH1API_KEY": "<SEARCH1API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http search1api https://mcp.search1api.com/mcp~/.codex/config.toml
[mcp_servers.search1api]
url = "https://mcp.search1api.com/mcp"
# codex mcp add search1api --url https://mcp.search1api.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"search1api": {
"url": "https://mcp.search1api.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"search1api": {
"type": "http",
"url": "https://mcp.search1api.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"search1api": {
"httpUrl": "https://mcp.search1api.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"search1api": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.search1api.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"search1api": {
"url": "https://mcp.search1api.com/mcp"
}
}
}需要的环境变量
SEARCH1API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。