mcp-server-trending 0.1.0 → 0.2.0
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.zh.md +34 -0
- package/package.json +16 -5
package/README.zh.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# mcp-server-trending
|
|
2
|
+
|
|
3
|
+
**实时热门数据 MCP 服务** — 让 AI Agent 实时获取 GitHub Trending、Hacker News 热门内容。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g mcp-server-trending
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 配置 Claude Code
|
|
12
|
+
|
|
13
|
+
```json
|
|
14
|
+
{
|
|
15
|
+
"mcpServers": {
|
|
16
|
+
"trending": {
|
|
17
|
+
"command": "npx",
|
|
18
|
+
"args": ["-y", "mcp-server-trending"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## 可用工具
|
|
25
|
+
|
|
26
|
+
| 工具 | 说明 |
|
|
27
|
+
|------|------|
|
|
28
|
+
| `get_github_trending` | GitHub 每日/每周/每月热门仓库(可按语言筛选) |
|
|
29
|
+
| `get_hacker_news` | Hacker News 热门故事 |
|
|
30
|
+
| `get_trending_summary` | 一键获取多源热门摘要 |
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
|
|
34
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-server-trending",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "MCP server providing real-time trending data from GitHub, Hacker News, and more
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "MCP server providing real-time trending data from GitHub, Hacker News, and more \u2014 for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"mcp-server-trending": "dist/index.js"
|
|
8
8
|
},
|
|
9
|
-
"files": [
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md",
|
|
12
|
+
"README.zh.md"
|
|
13
|
+
],
|
|
10
14
|
"scripts": {
|
|
11
15
|
"build": "tsc",
|
|
12
16
|
"start": "node dist/index.js",
|
|
13
17
|
"prepublishOnly": "npm run build"
|
|
14
18
|
},
|
|
15
|
-
"keywords": [
|
|
19
|
+
"keywords": [
|
|
20
|
+
"mcp",
|
|
21
|
+
"model-context-protocol",
|
|
22
|
+
"trending",
|
|
23
|
+
"github",
|
|
24
|
+
"hackernews",
|
|
25
|
+
"ai-agent"
|
|
26
|
+
],
|
|
16
27
|
"license": "MIT",
|
|
17
28
|
"dependencies": {
|
|
18
29
|
"@modelcontextprotocol/sdk": "^1.19.0",
|
|
@@ -22,4 +33,4 @@
|
|
|
22
33
|
"@types/node": "^22.0.0",
|
|
23
34
|
"typescript": "^5.7.0"
|
|
24
35
|
}
|
|
25
|
-
}
|
|
36
|
+
}
|