loading…
Search for a command to run...
loading…
Enables searching and monitoring of Goofish (闲鱼) items via Playwright automation, providing structured item details and keyword-based monitoring.
Enables searching and monitoring of Goofish (闲鱼) items via Playwright automation, providing structured item details and keyword-based monitoring.
独立的 Goofish / 闲鱼 MCP server,使用 Node.js + Playwright,并通过页面上下文里的 window.lib.mtop.request(...) 获取搜索数据。
search_items:已按真实 Goofish 页面 + mtop 路线实现get_item_detail:已接入 mtop.taobao.idle.pc.detail,可结构化返回价格、卖家、地区、图片、属性、描述monitor_keyword:复用 search_itemscd goofish-mcp-server
npm install
npm start
默认使用:
./.profiles/goofish可选环境变量:
GOOFISH_PROFILE_DIR=/path/to/profile
GOOFISH_HEADLESS=1
首次启动时会打开浏览器 profile。 你需要在这个 profile 里手动登录 Goofish 一次。 后续 session 会复用该登录态。
输入:
{
"keyword": "iphone 15 pro",
"limit": 10
}
输入:
{
"item_id": "1234567890"
}
或:
{
"url": "https://www.goofish.com/item?id=1234567890"
}
输入:
{
"keyword": "iphone 15 pro",
"max_items": 20,
"dedupe_key": "item_id"
}
把这个进程作为 stdio MCP server 挂进去即可。
配置示例文件:
mcp-config-examples.jsonClaude Desktop 核心思路:
{
"mcpServers": {
"goofish": {
"command": "node",
"args": ["/absolute/path/to/goofish-mcp-server/index.js"],
"env": {
"GOOFISH_PROFILE_DIR": "/absolute/path/to/goofish-mcp-server/.profiles/goofish",
"GOOFISH_HEADLESS": "0"
}
}
}
}
get_item_detail 的真实结构化字段Выполни в терминале:
claude mcp add goofish-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.