MCP Server for 流量日记 - 查询自媒体数据
Project description
liuliangriji-mcp
流量日记 MCP Server — 让 AI 查询和分析你的自媒体数据
简介
liuliangriji-mcp 是「流量日记」macOS App 的 MCP (Model Context Protocol) 服务器,让 Claude、Cursor、VS Code Copilot 等 AI 客户端能直接查询你导入的微信公众号和小红书数据。
前置条件
- 「流量日记」macOS App 正在运行
- App 设置中 MCP API 服务已开启(默认端口 19820)
安装
推荐使用 uvx(无需手动安装):
uvx liuliangriji-mcp
或通过 pip 安装:
pip install liuliangriji-mcp
配置
Claude Desktop
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
Claude Code
编辑 ~/.claude/settings.json 或项目 .mcp.json:
{
"mcpServers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
VS Code Copilot
创建 .vscode/mcp.json:
{
"servers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
Cursor
编辑 ~/.cursor/mcp.json:
{
"mcpServers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
Trae
编辑 ~/.trae/mcp.json:
{
"mcpServers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
可用工具
| 工具名 | 说明 |
|---|---|
liuliangriji_check_connection |
检查流量日记连接状态 |
liuliangriji_list_accounts |
列出所有自媒体账号 |
liuliangriji_wechat_account_daily |
公众号每日统计 |
liuliangriji_wechat_article_stats |
文章 7 日数据 |
liuliangriji_wechat_top_articles |
热门文章排行 |
liuliangriji_wechat_followers |
粉丝增长数据 |
liuliangriji_xhs_account_traffic |
小红书账号流量 |
liuliangriji_xhs_notes |
小红书笔记数据 |
liuliangriji_import_history |
查询导入历史 |
liuliangriji_export_csv |
导出 CSV 数据 |
使用示例
配置完成后,在 AI 对话中即可使用:
用户:我公众号上周的阅读量趋势怎么样?
用户:帮我对比一下小红书和公众号最近一个月的粉丝增长
用户:哪篇文章的阅读量最高?
许可证
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file liuliangriji_mcp-0.1.1.tar.gz.
File metadata
- Download URL: liuliangriji_mcp-0.1.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c41ac7524f70d4f91926bf46ccc0a472d0f89a53047c31d3187f08d810cb81e3
|
|
| MD5 |
26e44d7d604e33a6ab769e46cdf751b4
|
|
| BLAKE2b-256 |
39e438b4e06ef9767a5714a8d91e475f3fc9a6f3b14a76c3704155e04b68d5ab
|
File details
Details for the file liuliangriji_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: liuliangriji_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5b981c1abe576b7f94742cb4565e9cd2ac7a1db2ea746dfaa1d7e2bafd4847e
|
|
| MD5 |
6aff8f7d32599deb63dc76c658cc846a
|
|
| BLAKE2b-256 |
934cfb8c3d4e7500d1aa92af7b0bac721f244250ad9f4d16a3be0d1755bc827a
|