npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/eduard256-ozon-mcp-server

v1.0.0

Published

MCP Server for Ozon marketplace - search products, get details, prices and delivery info

Downloads

82

Readme

Ozon MCP Server

MCP (Model Context Protocol) Server for Ozon marketplace. Allows AI assistants to search products, get detailed information, prices, and delivery info from Ozon.ru.

Features

  • ozon_search - Search products with filters (price, sorting, pagination)
  • ozon_product_details - Get detailed product info (price, characteristics, images, rating)
  • ozon_products_list - Get info for multiple products at once
  • ozon_set_location - Set delivery city
  • ozon_get_filters - Get available filters for search
  • ozon_get_categories - Get product categories list

How it Works

The server uses Playwright to automate a headless browser and bypass Ozon's antibot protection:

  1. Maintains a persistent browser session with cookies
  2. Uses "natural navigation" (homepage → target page) to avoid captcha
  3. Extracts data from page DOM and embedded JSON
  4. Simulates human-like behavior (mouse movements, scrolling)

Installation

Option 1: Direct (Node.js)

# Clone repository
git clone https://github.com/eduard256/ozon-mcp-server.git
cd ozon-mcp-server

# Install dependencies
npm install

# Install Playwright browsers
npx playwright install chromium
npx playwright install-deps chromium

# Start server
npm start

Option 2: Docker

# Clone and build
git clone https://github.com/eduard256/ozon-mcp-server.git
cd ozon-mcp-server
docker-compose up -d

Configuration

Environment variables:

  • PORT - HTTP server port (default: 3001)

Usage

HTTP API

The server exposes MCP Streamable HTTP transport at /mcp endpoint.

Base URL: http://localhost:3001

Endpoints:

  • GET / - Server info and available tools
  • GET /health - Health check
  • POST /mcp - MCP JSON-RPC endpoint
  • GET /mcp - SSE stream (Accept: text/event-stream)
  • DELETE /mcp - Terminate session

Example: Search Products

curl -X POST http://localhost:3001/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "ozon_search",
      "arguments": {
        "query": "iPhone 15",
        "sort": "popular",
        "limit": 10
      }
    }
  }'

Example: Get Product Details

curl -X POST http://localhost:3001/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "ozon_product_details",
      "arguments": {
        "productId": "https://www.ozon.ru/product/smartfon-apple-iphone-15-128gb-1234567890/"
      }
    }
  }'

Claude Desktop Integration

Add to your Claude Desktop config (~/.config/claude/claude_desktop_config.json):

{
  "mcpServers": {
    "ozon": {
      "url": "http://localhost:3001/mcp"
    }
  }
}

Or for remote server:

{
  "mcpServers": {
    "ozon": {
      "url": "http://YOUR_SERVER_IP:3001/mcp"
    }
  }
}

Tools Reference

ozon_search

Search for products on Ozon.

Parameters:

  • query (required) - Search text
  • sort - Sort order: popular, price, price_desc, new, rating, discount
  • page - Page number (default: 1)
  • priceMin - Minimum price in rubles
  • priceMax - Maximum price in rubles
  • limit - Max results (default: 20, max: 50)

Returns: Array of products with id, url, name, price, image, rating

ozon_product_details

Get detailed product information.

Parameters:

  • productId (required) - Product ID or full URL

Returns: Object with title, price, oldPrice, discount, rating, reviewsCount, images, characteristics, description, seller, inStock

ozon_products_list

Get multiple products at once.

Parameters:

  • productIds (required) - Array of product IDs or URLs

Returns: Array of product details

ozon_set_location

Set delivery city (affects prices and availability).

Parameters:

  • city (required) - City name

Returns: Success status

ozon_get_filters

Get available filters for a search.

Parameters:

  • query (required) - Search query or category URL

Returns: Available sort options and filters

ozon_get_categories

Get list of product categories.

Parameters: None

Returns: Array of categories with name and url

Notes

  • First request may take longer (browser initialization)
  • Product detail pages require natural navigation to bypass captcha
  • Rate limiting: avoid too many rapid requests
  • Ozon may change their antibot measures, requiring updates

License

MIT