Goofish MCP Server
Provides tools to search for items and get item details from the Goofish (闲鱼) platform, which uses Taobao's mtop API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Goofish MCP Server search for Nintendo Switch games"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Goofish MCP Server
独立的 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_items✅ 浏览器登录态持久化:使用 Playwright persistent context
Related MCP server: xianyu-mcp
安装
cd goofish-mcp-server
npm install运行
npm start默认使用:
浏览器 profile 目录:
./.profiles/goofish非 headless
可选环境变量:
GOOFISH_PROFILE_DIR=/path/to/profile
GOOFISH_HEADLESS=1第一次登录
首次启动时会打开浏览器 profile。 你需要在这个 profile 里手动登录 Goofish 一次。 后续 session 会复用该登录态。
MCP tools
1. search_items
输入:
{
"keyword": "iphone 15 pro",
"limit": 10
}2. get_item_detail
输入:
{
"item_id": "1234567890"
}或:
{
"url": "https://www.goofish.com/item?id=1234567890"
}3. monitor_keyword
输入:
{
"keyword": "iphone 15 pro",
"max_items": 20,
"dedupe_key": "item_id"
}Claude / OpenClaw 接入思路
把这个进程作为 stdio MCP server 挂进去即可。
配置示例文件:
mcp-config-examples.json
Claude 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的真实结构化字段增加 cookie/export/import 管理
增加自动登录检测和错误提示
增加 remote/http transport
Available Tools
4 toolsget_item_detailB
Get Goofish/Xianyu item detail by item_id or URL.
Inputs: item_id, url.
monitor_keywordC
Return a normalized Goofish/Xianyu keyword snapshot for monitoring.
Inputs: keyword (required), max_items, dedupe_key.
publish_itemB
Publish a new Goofish/Xianyu second-hand item listing.
Inputs: title (required), desc (required), price_yuan (required), category_id, +1 more.
search_itemsB
Search Goofish/Xianyu items by keyword using a logged-in Playwright browser context. Example queries: iphone 15 pro, sony a7, dyson v12.
Inputs: keyword (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: one for getting item details, one for setting up keyword monitoring, one for publishing items, and one for searching. No overlap in functionality.
All tool names follow a consistent verb_noun pattern in snake_case (get_item_detail, monitor_keyword, publish_item, search_items), making them predictable and easy to understand.
With 4 tools covering search, detail retrieval, publishing, and monitoring, the set is well-scoped for its domain without being excessive or insufficient.
While the server covers search, detail, publish, and monitoring, it lacks update and delete capabilities, leaving a notable gap in the full lifecycle of item management.
Maintenance
Related MCP Connectors
Playwright browser automation — navigate, click, fill forms, extract, screenshot — 17 agent tools.
Jobs, ads, SEO, keywords, YouTube and AliExpress data for AI agents. Runs on Apify.
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Goofish (闲鱼) marketplace, supporting product search, batch inquiry messaging, and conversation management for buyers.4MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to search Xianyu second-hand marketplace for product prices with automatic cookie detection.2-
- FlicenseCqualityBmaintenanceProvides MCP interface to Xianyu (Goofish) for searching items, managing price watches, and monitoring prices via CLI, HTTP API, or MCP.374-
- AlicenseNot gradedqualityCmaintenanceEnables automating buyer-side workflows on Xianyu (Goofish) by searching products, sending individual or batch price inquiries, and retrieving seller responses through MCP tools.1MIT