๐ Smart Search MCP - A Powerful Intelligent Search Toolkit
๐ Major Update in v2.0.0 - Extremely streamlined and feature-rich! Focus on 14 high-quality search tools.
Smart Search MCP offers 14 enhanced intelligent search tools:
๐ International Platform Search (6 tools)
- โ
Web Search - Supports 4 major search engines, provides intelligent search techniques and relevant search suggestions.
- โ
GitHub Search - Allows multi-dimensional filtering, offers advanced search syntax, and recommends popular repositories.
- โ
StackOverflow - Enables technical Q&A, tag filtering, and vote sorting.
- โ
NPM Package Search - Features dual search methods, direct access to package details, and category recommendations.
- โ
Technical Documentation - Covers documentation of 7 major frameworks, prioritizes Chinese versions, and provides quick navigation.
- โ
API Reference - Supports multi-source search, offers quick access to common libraries, and provides code examples.
๐จ๐ณ Domestic Platform Search (8 tools)
- โ
WeChat Documentation - Allows quick search of APIs for mini-programs, official accounts, and payments.
- โ
CSDN - An IT community with blogs, Q&A, and resources.
- โ
Juejin - A platform for technical sharing, covering full-stack development.
- โ
SegmentFault - A technical Q&A community with high activity.
- โ
Cnblogs - A home for developers with technical blogs.
- โ
OSChina - Offers open-source projects and technical news.
- โ
Alibaba Cloud - Provides cloud service documentation and product guides.
- โ
Tencent Cloud - Offers cloud product documentation and API manuals.
๐ Quick Start
โ ๏ธ Upgrading from an old version?
If you previously installed ai-rule-mcp-server, use the one-click migration script:
curl -sSL https://raw.githubusercontent.com/adminhuan/smart-search-mcp/main/migrate.sh | bash
npm uninstall -g ai-rule-mcp-server
โก One-click installation (recommended)
claude mcp add smart-search-mcp npx smart-search-mcp
curl -sSL https://raw.githubusercontent.com/adminhuan/smart-search-mcp/main/install.sh | bash
npx smart-search-mcp@latest
npm install -g smart-search-mcp
git clone https://github.com/adminhuan/smart-search-mcp.git
cd smart-search-mcp
npm install
npm start
๐ง Configure Claude Code
Add the following to the MCP configuration in Claude Code:
{
"mcpServers": {
"smart-search-mcp": {
"command": "npx",
"args": ["smart-search-mcp@latest"]
}
}
}
๐ Start using
After installation, restart Claude Code to use the 14 search tools:
๐ International Platform Search (6 tools):
- Web Search:
ai_search_web() - Multi-engine web search (Baidu/Google/Bing/Sogou).
- GitHub Search:
ai_search_github() - Search GitHub repositories, code, and issues.
- StackOverflow Search:
ai_search_stackoverflow() - Search technical Q&A.
- NPM Package Search:
ai_search_npm() - Search NPM packages and documentation.
- Technical Documentation Search:
ai_search_docs() - Search official framework documentation.
- API Reference Search:
ai_search_api_reference() - Find API usage documentation.
๐จ๐ณ Domestic Platform Search (8 tools):
- WeChat Developer Documentation:
ai_search_wechat_docs() - Search mini-program/official account documentation.
- CSDN Search:
ai_search_csdn() - Search CSDN blogs and Q&A.
- Juejin Search:
ai_search_juejin() - Search Juejin technical articles.
- SegmentFault Search:
ai_search_segmentfault() - Search technical Q&A.
- Cnblogs Search:
ai_search_cnblogs() - Search Cnblogs articles.
- OSChina Search:
ai_search_oschina() - Search open-source projects and news.
- Alibaba Cloud Documentation:
ai_search_aliyun_docs() - Search Alibaba Cloud documentation.
- Tencent Cloud Documentation:
ai_search_tencent_docs() - Search Tencent Cloud documentation.
โจ Features
โก Enhanced Functions
Each search tool is carefully optimized to provide:
- Intelligent URL Generation - Generate optimal search URLs based on different platform characteristics.
- Input Validation - Automatically check and validate search keywords.
- Advanced Search Techniques - Provide professional search syntax tips for each platform.
- Related Search Suggestions - Intelligently recommend related search terms.
- Multi-source Search - Some tools support multiple search sources (e.g., NPM, API reference).
- Platform Introduction - Provide detailed platform descriptions and popular topic recommendations.
- Quick Navigation - Directly access official documentation and common resources.
- Formatted Output - Present information in clear Markdown format, easy to read and use.
- ๐ Automatic File Saving - Automatically save search details to the
.search-results/ folder, and only display a concise summary on the interface.
๐ Search Workflow
User inputs search keywords
โ
Smart Search MCP processes the request
โ
Generates optimized search URLs and saves detailed information to files
โ
Returns a concise summary (keywords, links, file paths)
โ
Claude Code uses WebFetch to obtain real-time search results
โ
User views search results and can access the saved detailed information
๐ Version Comparison
| Version |
Total Tools |
Features |
| v0.8.0 |
37 |
Mixed with various functions |
| v1.0.0 |
15 |
1 coding specification + 14 searches |
| v2.0.0 |
14 |
Pure search tools |
Features removed in v2.0.0:
- โ Coding specification reminder tool (users only need search functions)
๐ ๏ธ Available Tools
| Tool Function |
Function Description |
Platform |
ai_search_web() |
Web search (Google/Bing/Baidu/Sogou) |
International |
ai_search_github() |
GitHub search |
International |
ai_search_stackoverflow() |
StackOverflow search |
International |
ai_search_npm() |
NPM package search |
International |
ai_search_docs() |
Technical documentation search |
International |
ai_search_api_reference() |
API reference search |
International |
ai_search_wechat_docs() |
WeChat developer documentation |
Domestic |
ai_search_csdn() |
CSDN search |
Domestic |
ai_search_juejin() |
Juejin search |
Domestic |
ai_search_segmentfault() |
SegmentFault search |
Domestic |
ai_search_cnblogs() |
Cnblogs search |
Domestic |
ai_search_oschina() |
OSChina search |
Domestic |
ai_search_aliyun_docs() |
Alibaba Cloud documentation search |
Domestic |
ai_search_tencent_docs() |
Tencent Cloud documentation search |
Domestic |
๐ป Usage Examples
Search for the best practices of React Hooks
Input:
ai_search_web({ query: "Best practices for React Hooks", engine: "baidu" })
Output:
- Optimized search URL
- 4 search engine options
- Advanced search techniques (exact match, exclude keywords, limit sites, etc.)
- Related search suggestions
- WebFetch usage example
Find Vue3 projects on GitHub
Input:
ai_search_github({ query: "vue3", type: "repositories", language: "javascript", sort: "stars" })
Output:
- GitHub search link
- 7 advanced search techniques
- Related search suggestions
- Other search type options
- WebFetch usage example
Search for WeChat mini-program APIs
Input:
ai_search_wechat_docs({ query: "wx.request", platform: "miniprogram" })
Output:
- Baidu in-site search link
- Direct access to WeChat mini-program documentation
- Quick reference to common APIs
- Other WeChat platform entrances
- Developer community link
๐ Usage
After configuration, you can directly use the search function in Claude Code:
๐ Intelligent Search Usage
International Platforms:
- Web Search: "Search for the best practices of React Hooks" (default using Baidu).
- GitHub Search: "Search for Vue3-related repositories on GitHub".
- Technical Q&A: "Search for how to solve CORS errors on StackOverflow".
- Package Management: "Search for date processing libraries on NPM".
- Documentation Query: "Search for the description of useEffect in the official React documentation".
- API Reference: "Find the request configuration API documentation of axios".
Domestic Platforms:
7. WeChat Documentation: "Search for the one-click login function of WeChat mini-programs".
8. CSDN: "Search for HBuilder development tutorials on CSDN".
9. Juejin: "Search for the best practices of Vue3 Composition API on Juejin".
10. SegmentFault: "Search for React performance optimization on SegmentFault".
11. Cnblogs: "Search for.NET Core tutorials on Cnblogs".
12. OSChina: "Search for front-end open-source projects on OSChina".
13. Alibaba Cloud: "Search for Alibaba Cloud OSS object storage documentation".
14. Tencent Cloud: "Search for Tencent Cloud COS usage guides".
Claude Code will automatically use the corresponding MCP search tool and obtain real search results through WebFetch.
๐ ๏ธ Management Commands
npm list -g smart-search-mcp
npm update -g smart-search-mcp
npm uninstall -g smart-search-mcp
๐ง Technical Details
๐ฏ Design Features
- ๐ Focus on Search - 14 carefully crafted search tools, focusing on one thing.
- โก Intelligent Enhancement - Each tool is equipped with advanced search techniques and intelligent suggestions.
- ๐ Domestic Optimization - 8 mainstream domestic technical platforms, defaulting to Baidu search for fast access.
- ๐ International Coverage - 6 top international platforms, covering GitHub, StackOverflow, NPM, etc.
- โ
Real Results - Obtain real search results with the WebFetch tool, not simulated data.
- ๐ Multi-source Search - NPM, API reference, etc. support multiple search sources to improve search success rate.
- ๐จ Beautiful Format - Output in Markdown format with clear information hierarchy and easy to read.
- ๐ Ready to Use - No database required, no complex configuration, just install and use.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.