LM

l-margiela/olx-mcp

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

29 stars 11 forks 质量 77 趋势 8MIT

OLX MCP服务器。100%氛围编码的AI烂泥

概览

如果Claude能帮你完成,为什么还要自己在你所在地区寻找电子废弃物呢? - 🌍 : 跨5个OLX域名搜索(葡萄牙、波兰、保加利亚、罗马尼亚、乌克兰) - 🔍 : 使用类别、地点、价格区间和排序筛选器搜索 - 📋 : 获取特定列表的详细信息,包括卖家信息 - 🎭 : 使用Playwright进行可靠的网页抓取 1. - : ~/Library/Application Support/Claude/claude_desktop_config.json - : %APPDATA%\Claude\claude_desktop_config.json - : ~/.config/Claude/claude_desktop_config.json 配置完成后,您可以在MCP客户端中使用以下工具: 使用各种筛选器搜索任何支持的OLX域名的列表: - 域(必填):OLX 域(“olx.pt”、“olx.pl”、“olx.bg”、“olx.ro”、“olx.”。

概述(AI 翻译)

如果Claude能帮你完成,为什么还要自己在你所在地区寻找电子废弃物呢?

百分之百AI的烂摊子。

特色

  • 🌍 多域支持:跨5个OLX域搜索(葡萄牙、波兰、保加利亚、罗马尼亚、乌克兰)
  • 🔍 搜索列表:通过类别、地点、价格区间和排序筛选功能搜索
  • 📋 商品详情:获取特定商品的详细信息,包括卖家信息
  • 🎭 浏览器自动化:使用Playwright实现可靠的网页抓取

安装

📋 Claude Desktop Configuration

  1. 找到你的Claude桌面配置文件:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
  1. 将OLX MCP服务器添加到你的配置中:

  2. 重启Claude Desktop以加载新配置。

🔄 替代方案:全球安装

如果你更喜欢全局安装:

然后使用这个配置:

📦 开发:源头

使用以下配置进行开发:

用途

配置完成后,您可以在MCP客户端中使用以下工具:

搜索列表

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

OLX MCP Server

Why search for e-waste in your area by yourself if Claude can do it for you?

100% AI slop.

Features

  • 🌍 Multi-Domain Support: Search across 5 OLX domains (Portugal, Poland, Bulgaria, Romania, Ukraine)
  • 🔍 Search Listings: Search with filters for category, location, price range, and sorting
  • 📋 Listing Details: Get detailed information about specific listings including seller info
  • 🎭 Browser Automation: Reliable web scraping using Playwright

Installation

📋 Claude Desktop Configuration

  1. Locate your Claude Desktop config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add the OLX MCP server to your configuration:

{
  "mcpServers": {
    "olx-mcp": {
      "command": "npx",
      "args": ["olx-mcp"]
    }
  }
}
  1. Restart Claude Desktop to load the new configuration.

🔄 Alternative: Global Installation

If you prefer to install globally:

npm install -g olx-mcp

Then use this config:

{
  "mcpServers": {
    "olx-mcp": {
      "command": "olx-mcp"
    }
  }
}

📦 Development: From Source

git clone https://github.com/l-margiela/olx-mcp.git
cd olx-mcp
npm install
npm run build

Use this config for development:

{
  "mcpServers": {
    "olx-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/olx-mcp/dist/index.js"]
    }
  }
}

Usage

Once configured, you can use the following tools in your MCP client:

Search Listings

Search for listings on any supported OLX domain with various filters:

Can you search for "apartments" in "Lisboa" on OLX Portugal with a maximum price of 1000 euros?
Search for "telefon" in "warszawa" on OLX Poland with prices between 100-500 PLN?

Parameters:

  • domain (required): OLX domain (‘olx.pt’, ‘olx.pl’, ‘olx.bg’, ‘olx.ro’, ‘olx.ua’)
  • query (optional): Search term
  • category (optional): Category filter
  • location (optional): Location filter
  • minPrice (optional): Minimum price
  • maxPrice (optional): Maximum price
  • page (default: 1): Page number
  • limit (default: 20): Items per page
  • sortBy (default: ‘relevance’): Sort order (‘relevance’, ‘date’, ‘price-asc’, ‘price-desc’)

Listing Details

Get detailed information about a specific listing from any supported domain:

Can you get the details for listing "ABC123" from OLX Portugal?
Show me details for listing "XYZ789" from OLX Poland including images?

Parameters:

在 GitHub 查看完整 README

安装

npx olx-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "olx-mcp": { "command": "npx", "args": ["olx-mcp"] } } }