goofish-price-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOOFISH_DB_PATH | No | Path to the ai-goofish-monitor SQLite database (e.g. /path/to/ai-goofish-monitor/data/app.sqlite3). Resolution order: GOOFISH_DB_PATH → ./data/app.sqlite3 → /app/data/app.sqlite3 → ~/.ai-goofish/data/app.sqlite3. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
闲鱼(Xianyu/Goofish) 二手行情查询。数据来自本机 ai-goofish-monitor 监控任务持续抓取的挂牌样本(只读,不触碰网站)。查价用 get_price_stats,看具体在售商品用 latest_items,看蹲守全景用 market_overview / list_watch_tasks。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_price_statsA | 查询某关键词的闲鱼二手行情:均价/中位/最低价、按天价格趋势、最便宜的商品链接。 keyword 支持模糊匹配(如 "DDR4");days 为回看天数(1-365)。 样本 = 监控任务在搜索条件下每次运行实际看到的挂牌价。 |
| latest_itemsA | 列出最近蹲到的在售商品明细(标题/价格/链接/卖家/发布时间),按抓取时间倒序。 可按关键词、价格区间过滤;recommended_only=True 只看判定为推荐的商品。 |
| market_overviewA | 所有已监控关键词的行情速览:最近一天均价/最低价、累计样本量、运行时间。 |
| list_watch_tasksB | 列出监控端的蹲守任务(关键词、价格区间、cron、判定模式、已入库数量)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a reasonably distinct target: per-keyword deep stats, per-item listing, cross-keyword snapshot, and task listing. The only soft overlap is between get_price_stats and market_overview, which both return aggregate prices (one deep per keyword, one shallow across all); descriptions clarify the split but an agent could still pick the wrong one for a quick check.
All names are snake_case, but the conventions are mixed: get_price_stats and list_watch_tasks use verb_noun while latest_items and market_overview are bare noun phrases. It remains readable, but the set does not follow a single predictable pattern.
Four tools is on the lean side but each covers a distinct query surface (stats, items, overview, tasks) with no filler. It is appropriately scoped for a read/query-oriented price monitoring server.
The read side is covered (stats, item lists, overview, task listing), but the monitoring lifecycle is incomplete: list_watch_tasks exists with no create_watch_task, update, or delete counterpart, so an agent cannot start or stop monitoring a keyword. No tool exposes per-item history or cross-keyword comparison either.