Miyami WebSearch MCP
](https://www.npmjs.com/package/miyami-websearch-mcp/v/1.6.0) 
将你的法学硕士连接到互联网!使用模型上下文协议搜索网络并从任何网页中提取内容。
🌟 特性
- 🔍 网页搜索 -在谷歌、DuckDuckGo、Bing、Brave、维基百科上搜索
- 🧠 深入研究 -使用编译报告进行多查询并行研究
- 🌐 网站爬行 -Trafilatura提取深度受限爬行
- 🎬 YouTube文字记录 -从任何YouTube视频中获取字幕/字幕-新增!
- 🛡️ 免费隐身模式 -反机器人绕过(Cloudflare、DataDome等)
- ⏰ 时间范围过滤器 -按最近度(日、周、月、年)筛选结果
- 📄 增强的内容提取 -特拉法图拉动力(Firecrawl质量)提取
- 📝 Markdown输出 -从网页获取结构化标记
- 🎯 元数据 -自动提取作者、日期、网站名称
- ⚡ 快速简单 -单线安装,零配置
- 🤖 LLM优化 -格式化的响应非常适合AI消费
- 🆓 100%免费 -无需API密钥,无需注册,无需配置
- 🔒 隐私第一 -无跟踪,无数据收集
📦 安装
选项1:与npx一起使用(推荐-无需安装)
添加到您的Claude桌面配置(~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"miyami-websearch": {
"command": "npx",
"args": ["-y", "miyami-websearch-mcp"]
}
}
}选项2:全局安装
npm install -g miyami-websearch-mcp然后配置Claude Desktop:
{
"mcpServers": {
"miyami-websearch": {
"command": "miyami-websearch-mcp"
}
}
}就是这样! 重新启动Claude Desktop,您就可以搜索网络了! 🎉
🚀 快速开始
添加到Claude Desktop配置并重新启动后,请尝试以下提示:
Search for the latest news about AISearch for Python tutorials and summarize the top resultFetch the content from https://example.com and summarize it🛠️ 可用工具
1. web_search
使用具有可选时间范围过滤的多个搜索引擎搜索网络。
参数:
query(必填)-您的搜索查询categories(可选)-概述、新闻、图片、视频、科学language(可选)-语言代码(默认值:en)page(可选)-页码(默认值:1)time_range(可选)- 新 按近距筛选:日、周、月、年
示例:
Search for "quantum computing breakthroughs" in news categorySearch for AI news from the past 24 hours with time_range: dayFind recent Python tutorials from the past week with time_range: week2. fetch_webpage
使用从任何网页提取干净的内容 编织 (Firecrawl质量提取)。
参数:
url(必填)-网页URLinclude_links(可选)-包含链接(默认值:true)include_images(可选)-包含图像(默认值:true)max_content_length(可选)-最大字符长度(默认值:50000)format(可选)-输出格式:文本、markdown(默认)、htmlextraction_mode(可选)-引擎:trafilatura(默认,最佳质量),可读性(更快)stealth_mode(可选)- 新 反机器人旁路:关闭、低、中、高(默认:关闭)auto_bypass(可选)- 新 如果检测到机器人保护,则自动升级隐身(默认值:false)
增强功能:
- 📝 Markdown输出 -获取结构化标记,如Firecrawl
- 🎯 元数据 -自动提取作者、日期、网站名称
- 📊 提取统计数据 -字数、内容长度、格式信息
- 🛡️ 隐身模式 -绕过Cloudflare、DataDome、Akamai等。
例子:
Fetch and summarize https://en.wikipedia.org/wiki/Artificial_intelligence in markdown format3. search_and_fetch ⭐ 推荐
使用Trafilatura质量提取从顶部结果中搜索并自动获取完整内容。
参数:
query(必填)-您的搜索查询num_results(可选)-要获取多少结果(1-5,默认值:3)categories(可选)-搜索类别time_range(可选)-按近距筛选:日、周、月、年format(可选)-输出格式:文本、markdown(默认)、htmlstealth_mode(可选)- 新 反机器人旁路:关闭、低、中、高(默认:关闭)auto_bypass(可选)- 新 如果检测到机器人保护,则自动升级隐身(默认值:false)
它的作用:
- ✅ 搜索您的查询(使用可选的时间过滤器)
- ✅ 获取前N个结果
- ✅ 自动获取完整内容(并行)
- ✅ 用途 编织 用于Firecrawl质量提取
- ✅ 返回搜索片段和完整网页内容
- ✅ 受保护网站的免费隐身模式
示例:
Research "climate change solutions" and give me detailed info from top 3 sourcesGet recent AI breakthroughs from past 24 hours with full articles (time_range: day, num_results: 5)Research recent web development tutorials from past week (time_range: week, format: markdown)4. deep_research 🧠
通过人工智能驱动的重新排名和编译的降价报告,一次对多个主题进行全面的并行研究。
参数:
queries(必填)-逗号分隔的研究查询列表(最多10个)breadth(可选)-每个查询要获取的结果(1-5,默认值:3)time_range(可选)-按近距筛选:日、周、月、年max_content_length(可选)-每个结果的最大内容(默认值:30000)stealth_mode(可选)-反机器人旁路:关闭、低、中、高(默认:关闭)auto_bypass(可选)-如果检测到机器人保护,则自动升级隐身(默认值:false)
它的作用:
- ✅ 最多可处理10个查询 平行 对于速度
- ✅ AI重新排序以获得更好的相关性(始终启用)
- ✅ 自动生成已编译 降价报告
- ✅ 丰富的元数据提取(作者、日期、来源)
- ✅ 服务器端缓存(30分钟)
- ✅ 所有查询的汇总统计数据
- ✅ 受保护网站的免费隐身模式
示例:
Research "AI trends 2024,machine learning basics,ChatGPT use cases" with deep_researchDeep research on "React vs Vue,Next.js features,frontend trends" from past monthComprehensive research: "climate solutions,renewable energy,carbon capture" with breadth: 55. crawl_site 🌐 新
由Scrapy+Trafilatura提供动力的深度受限网站爬虫。返回包含内容、元数据、链接和字数的结构化页面。支持免费隐身模式。
参数:
start_url(必需)-要爬网的起始URLmax_pages(可选)-要抓取的最大页面数(1-200,默认值:50)max_depth(可选)-链接深度(0-5,默认值:2)format(可选)-输出格式:文本、markdown(默认)、htmlinclude_links(可选)-包括提取的链接(默认值:true)include_images(可选)-包括图像URL(默认值:true)url_patterns(可选)-要包含逗号分隔的正则表达式(例如/blog/、/docs/)exclude_patterns(可选)-要排除的逗号分隔正则表达式stealth_mode(可选)-反机器人旁路:关闭、低、中、高(默认:关闭)obey_robots(可选)-尊重robots.txt(默认值:true;设置false绕过)
它的作用:
- ✅ 深度受限递归爬行(Scrapy子流程)
- ✅ 使用元数据+字数进行特拉弗拉图拉提取
- ✅ 包含/排除URL筛选
- ✅ 免费隐身模式,可在服务器上选择自动升级
- ✅ 15分钟爬网超时和30分钟缓存
示例:
Crawl docs site: start_url=https://docs.example.com max_depth=3 url_patterns=/api/,/guides/Bypass robots on a small crawl: start_url=https://site.com max_pages=5 obey_robots=false stealth_mode=highFilter sections: start_url=https://blog.example.com url_patterns=/2024/,/tech/ exclude_patterns=/archive/6. yt_transcript 🎬 新
从YouTube视频中获取成绩单/字幕,供法学硕士使用。支持多种格式、语言选择、翻译和时间范围切片。
参数:
video(必填)-YouTube视频URL或11个字符的视频ID(支持所有格式:完整URL、youtu.be、嵌入、短片)format(可选)-输出格式:文本(默认)、json(带时间戳)、srt(字幕)lang(可选)-首选语言代码(例如,en、es、hi、fr)。默认值:自动translate(可选)-将成绩单翻译成目标语言代码start(可选)-修剪开始时间(秒)end(可选)-修剪结束时间(秒)list_langs(可选)-列出可用的转录语言而不是获取(默认值:false)
它的作用:
- ✅ 从任何带有字幕的YouTube视频中提取文字记录
- ✅ 多种输出格式(纯文本、带时间戳的JSON、SRT字幕)
- ✅ 多语言视频的语言选择
- ✅ 翻译成任何支持的语言(通过YouTube)
- ✅ 特定分段的时间范围切片
- ✅ 列出可用的文字记录语言
- ✅ 统计数据:字数、段数、持续时间
- ✅ 1小时服务器端缓存
示例:
Get transcript from YouTube video: video=dQw4w9WgXcQ format=textGet transcript with timestamps: video=https://www.youtube.com/watch?v=dQw4w9WgXcQ format=jsonGet Spanish transcript: video=dQw4w9WgXcQ lang=esTranslate to French: video=dQw4w9WgXcQ translate=frGet specific time range (60-120 seconds): video=dQw4w9WgXcQ start=60 end=120List available languages: video=dQw4w9WgXcQ list_langs=true💡 使用示例
研究一个主题
Use search_and_fetch to research "artificial general intelligence latest developments"
from the top 3 results and give me a comprehensive summary获取最新新闻(时间范围筛选器)
Search for AI breakthroughs from the past 24 hours using time_range: day最近的教程(时间范围过滤器)
Find Python tutorials from the past week using search with time_range: week使用Markdown输出获取
Fetch this article in markdown format: https://example.com/article研究最新进展
Use search_and_fetch to research "quantum computing" from the past week
with time_range: week and get full article content in markdown查找特定信息
Search for "best restaurants in Tokyo" and show me the top 5 results多步骤研究
1. Search for "Python web scraping libraries"
2. Fetch the documentation page in markdown format
3. Explain how to use it with examples🔧 配置
无需配置! 🎉
此MCP服务器自动连接到免费的公共API。只需将其添加到您的Claude Desktop配置中,它就会立即工作。
如果您正在寻找高级配置选项,那就没有了——我们故意保持简单!
🐛 故障排除
“MCP服务器未出现在Claude Desktop中”
- 检查你的
claude_desktop_config.json是有效的JSON - 完全重新启动Claude Desktop(退出并重新打开)
- 检查Console.app(macOS)以获取错误消息
“第一次搜索很慢(30-60秒)”
这很正常!空闲层API在不活动后休眠。后续请求很快。
“连接超时”
后端API位于无渲染层,可能正在唤醒。等待60秒,然后重试。
“工具不工作”
- 确保您已安装Node.js 18+:
node --version - 尝试全局安装而不是npx
- 检查
📡 API后端
此MCP服务器连接到免费的公共API:
- 统一资源定位符: https://websearch.miyami.tech(硬编码,无需配置)
- 成本:100%免费-无需API密钥或注册
- 隐私:无日志记录、无跟踪、无数据收集
- 发动机:谷歌、DuckDuckGo、必应、勇敢、维基百科、首页
- 隐身模式:免费反机器人绕过(Cloudflare、DataDome、Akamai等)
🤝 贡献
欢迎投稿!拜托:
- 分叉存储库
- 创建要素分支
- 进行更改
- 提交拉取请求
报告问题
发现bug了吗? 打开一个问题
📄 许可证
MIT许可证-请参阅 许可证 详细信息文件
🌟 明星历史
如果这个工具对你有帮助,请在repo上加星! ⭐
______________________________________________________________________
由...制作❤️ LLM社区
在几秒钟内将你的AI连接到互联网,而不是几个小时。
