mcp-searxng (Agent搜索MCP服务)


mcp-searxng (Agent搜索MCP服务)

原创 于 2026-08-06 00:28:53 发布 · 粉丝可见 · 22 阅读 · 0 · 0 GEO检测 · 编辑
文章链接:https://blog.csdn.net/hacker_51/article/details/163513800

给Agent加上可以网页搜索的MCP服务。

这里就要部署SearXNGMCP服务器。

官网: GitHub - searxng/searxng: SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled. · GitHub

1
2
3
4
5
docker run --name searxng -d \
-p 8888:8080 \
-v "./config/:/etc/searxng/" \
-v "./data/:/var/cache/searxng/" \
docker.io/searxng/searxng:latest

修改配置:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
use_default_settings:
engines:
keep_only:
- bing
- bing_images
- bing_news
- bing_videos
- baidu
- baidu_images
- baidu_kaifa
- 360search
- 360search_videos
- sogou
- sogou_images
- sogou_videos
- sogou_wechat
- quark
- quark_images
- bilibili
- acfun
- iqiyi
- yandex
- stackoverflow
- github

server:
secret_key: "EzZVy5xqfE88aruuXbwLMjwvG1CNOMIX"
image_proxy: true
bind_address: "0.0.0.0"

limiter:
enabled: false

search:
formats:
- html
- json
language: zh-CN
locale: zh

outgoing:
request_timeout: 15.0
max_request_timeout: 20.0
enable_http2: false

# 显式启用所有保留的引擎(确保 disabled: false)
engines:
- name: bing
disabled: false
weight: 1.0
timeout: 10.0

- name: bing_images
disabled: false
weight: 0.8

- name: bing_news
disabled: false
weight: 1.0

- name: bing_videos
disabled: false
weight: 0.8

- name: baidu
disabled: false
weight: 1.2
timeout: 10.0

- name: baidu_images
disabled: false
weight: 0.8

- name: baidu_kaifa
disabled: false
weight: 1.0

- name: 360search
disabled: false
weight: 0.8
timeout: 10.0

- name: 360search_videos
disabled: false
weight: 0.6

- name: sogou
disabled: false
weight: 1.0
timeout: 10.0

- name: sogou_images
disabled: false
weight: 0.8

- name: sogou_videos
disabled: false
weight: 0.6

- name: sogou_wechat
disabled: false
weight: 0.8

- name: quark
disabled: false
weight: 1.0

- name: quark_images
disabled: false
weight: 0.8

- name: bilibili
disabled: false
weight: 0.6

- name: acfun
disabled: false
weight: 0.5

- name: iqiyi
disabled: false
weight: 0.5

- name: yandex
disabled: false
weight: 0.5
timeout: 10.0

- name: stackoverflow
disabled: false
weight: 0.8

- name: github
disabled: false
weight: 0.8

安装 mcp-searxng MCP 服务

1
npm install -g mcp-searxng

填写 MCP 服务配置:

测试结果:


觉得不错的话,给点打赏吧 ୧(๑•̀⌄•́๑)૭

微信二维码

wechat pay

支付宝二维码

ali pay

mcp-searxng (Agent搜索MCP服务)
http://blog.angindem.cn/2026/08/06/Angindem-CSDN博客/205_205/
作者
Angindem
发布于
2026年8月6日
许可协议