search1api-mcp 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/build/tools/index.js +1 -1
- package/build/types.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ A Model Context Protocol (MCP) server that provides search and crawl functionali
|
|
|
6
6
|
|
|
7
7
|
https://github.com/user-attachments/assets/58bc98ae-3b6b-442c-a7fc-010508b5f028
|
|
8
8
|
|
|
9
|
-
More discussions, please join the official [discord](https://discord.com/invite/AKXYq32Bxc)
|
|
9
|
+
More discussions and updates, please follow our official [X](https://x.com/search1api), or join the official [discord](https://discord.com/invite/AKXYq32Bxc)
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ More discussions, please join the official [discord](https://discord.com/invite/
|
|
|
25
25
|
- Parameters:
|
|
26
26
|
* `query` (required): Search query in natural language. Be specific and concise for better results
|
|
27
27
|
* `max_results` (optional, default: 10): Number of results to return
|
|
28
|
-
* `search_service` (optional, default: "google"): Search service to use (google, bing, duckduckgo, yahoo, github, youtube, arxiv, wechat, bilibili, imdb, wikipedia)
|
|
28
|
+
* `search_service` (optional, default: "google"): Search service to use (google, bing, duckduckgo, yahoo, x, reddit, github, youtube, arxiv, wechat, bilibili, imdb, wikipedia)
|
|
29
29
|
* `crawl_results` (optional, default: 0): Number of results to crawl for full webpage content
|
|
30
30
|
* `include_sites` (optional): List of sites to include in search
|
|
31
31
|
* `exclude_sites` (optional): List of sites to exclude from search
|
|
@@ -92,6 +92,7 @@ More discussions, please join the official [discord](https://discord.com/invite/
|
|
|
92
92
|
|
|
93
93
|
## Version History
|
|
94
94
|
|
|
95
|
+
- v0.1.8: Added X(Twitter) and Reddit search services
|
|
95
96
|
- v0.1.7: Added Trending tool for GitHub and Hacker News
|
|
96
97
|
- v0.1.6: Added Wikipedia search service
|
|
97
98
|
- v0.1.5: Added new search parameters (include_sites, exclude_sites, time_range) and new search services (arxiv, wechat, bilibili, imdb)
|
package/build/tools/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export const SEARCH_TOOL = {
|
|
|
18
18
|
type: "string",
|
|
19
19
|
description: "Specify the search engine to use. Choose based on your specific needs",
|
|
20
20
|
default: "google",
|
|
21
|
-
enum: ["google", "bing", "duckduckgo", "yahoo", "github", "youtube", "arxiv", "wechat", "bilibili", "imdb", "wikipedia"]
|
|
21
|
+
enum: ["google", "bing", "duckduckgo", "yahoo", "x", "reddit", "github", "youtube", "arxiv", "wechat", "bilibili", "imdb", "wikipedia"]
|
|
22
22
|
},
|
|
23
23
|
crawl_results: {
|
|
24
24
|
type: "number",
|
package/build/types.js
CHANGED
|
@@ -6,6 +6,8 @@ export var SearchService;
|
|
|
6
6
|
SearchService["YAHOO"] = "yahoo";
|
|
7
7
|
SearchService["GITHUB"] = "github";
|
|
8
8
|
SearchService["YOUTUBE"] = "youtube";
|
|
9
|
+
SearchService["X"] = "x";
|
|
10
|
+
SearchService["REDDIT"] = "reddit";
|
|
9
11
|
SearchService["ARXIV"] = "arxiv";
|
|
10
12
|
SearchService["WECHAT"] = "wechat";
|
|
11
13
|
SearchService["BILIBILI"] = "bilibili";
|