olx
OLX MCP server. 100% vibe-coded AI slop
claude mcp add --transport stdio l-margiela-olx-mcp npx -y olx-mcp
How to use
The OLX MCP Server provides a programmable interface to search OLX across multiple domains (Portugal, Poland, Bulgaria, Romania, and Ukraine) and fetch detailed listing information. It supports searching with filters such as category, location, price range, and sorting, as well as retrieving comprehensive listing details including seller information. The server leverages browser automation (Playwright) to reliably scrape data, making it possible to query listings and extract metadata in a consistent format via your MCP client. You can issue search requests with domain, query, and optional filters, and you can request listing details by providing a listingId and domain. Typical usage involves defining an MCP command block in your client configuration, then querying for listings and, if needed, requesting details for a specific listing.
How to install
Prerequisites:
- Node.js (recommended) and npm installed on your machine
- Git (for from-source installation)
- Internet access to install packages
Option A: Claude Desktop Configuration (recommended for Claude users)
- Install the MCP server in Claude Desktop by adding a new entry under mcpServers:
{
"mcpServers": {
"olx-mcp": {
"command": "npx",
"args": ["-y", "olx-mcp"]
}
}
}
-
Save changes and restart Claude Desktop to load the new configuration.
-
You can now reference the server as olx-mcp in your MCP client.
Option B: Global installation (npm)
- Install the MCP package globally:
npm install -g olx-mcp
- Use this configuration in your MCP client:
{
"mcpServers": {
"olx-mcp": {
"command": "olx-mcp"
}
}
}
- If you prefer to run via node directly after building from source, follow the development path below.
Option C: Development — From Source
- Clone the repository and install dependencies:
git clone https://github.com/l-margiela/olx-mcp.git
cd olx-mcp
npm install
npm run build
- Run the built server (example):
{
"mcpServers": {
"olx-mcp": {
"command": "node",
"args": ["/absolute/path/to/olx-mcp/dist/index.js"]
}
}
}
- This setup assumes you are building for development and testing purposes.
Prerequisites recap:
- Node.js and npm installed
- Git available for cloning
- Access to install npm packages globally if using the global installation path
Additional notes
Tips and common issues:
- Ensure your target OLX domains are supported: olx.pt, olx.pl, olx.bg, olx.ro, olx.ua.
- When using the MCP client, include domain, query, and optional filters (category, location, minPrice, maxPrice, maxPrice, sortBy).
- If you encounter authentication or rate-limit issues from OLX, consider adding slight delays between requests or using the browser automation mode (Playwright) to mimic real user interaction.
- For debugging MCP communication, you can use the MCP Inspector: npx @modelcontextprotocol/inspector node dist/index.js
- Check environment compatibility for Playwright (fonts, headless mode, and browser binaries).
- The npm package is olx-mcp; ensure you are referencing the correct command when running via MCP clients.
Related MCP Servers
XcodeBuildMCP
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
mcp-streamable-http
Example implementation of MCP Streamable HTTP client/server in Python and TypeScript.
Matryoshka
MCP server for token-efficient large document analysis via the use of REPL state
sonarqube
Model Context Protocol (MCP) server for SonarQube
pluggedin-app
The Crossroads for AI Data Exchanges. A unified, self-hostable web interface for discovering, configuring, and managing Model Context Protocol (MCP) servers—bringing together AI tools, workspaces, prompts, and logs from multiple MCP sources (Claude, Cursor, etc.) under one roof.
awesome s
A curated list of excellent Model Context Protocol (MCP) servers.