Goofish MCP Server

Goofish MCP Server

Enables searching and monitoring of Goofish (闲鱼) items via Playwright automation, providing structured item details and keyword-based monitoring.

Category
Visit Server

README

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

安装

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"
      }
    }
  }
}

下一步建议

  1. 补强 get_item_detail 的真实结构化字段
  2. 增加 cookie/export/import 管理
  3. 增加自动登录检测和错误提示
  4. 增加 remote/http transport

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured