avito-mcp (oleg909902)

avito-mcp

An MCP server for Avito through a running Chrome over CDP: search, listings, photos, messenger, Delivery orders and closing your own listings

  • 0 ★ on the repository
  • Last commit
MCP server

Broad access

Why this level

  • The server works inside a signed-in Avito session: correspondence, orders and personal listings are available to the agent
  • The tools send messages to sellers and close listings, and actions go in your name
All reasons and checks
Russian stack

oleg909902/avito-mcp

Install

Services

Manual install

npm install && npm run build && npm run stdio

Chrome must be launched with `--remote-debugging-port=9222`; for HTTP use `npm start` instead of stdio.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The server works inside a signed-in Avito session: correspondence, orders and personal listings are available to the agent
  • The tools send messages to sellers and close listings, and actions go in your name

This is third-party code. Review the repository files before installing.

What it does

The TypeScript server sends requests to Avito from an avito.ru tab of an already running Chrome over the Chrome DevTools Protocol, so it uses the browser session, cookies and proxy and extracts no cookies outward. Pages are parsed right in the browser and the messenger works over JSON-RPC through the `socket.avito.ru` WebSocket from the same tab. Twelve tools. Search: `search_listings` with 50 results per page and filters, `get_search_filters`, `get_listing` and `get_listing_images`, which hand photos to the model. Correspondence: `list_chats`, `get_chat` and `send_message`. Your own data: `list_orders` for Avito Delivery orders, `my_listings`, `favorites`, `close_reasons` and `close_listing`, which moves a listing to the archive and it can be restored in the cabinet. There are two prompts: `ask_sellers` finds listings and prepares a question for sellers, sending only after user consent, and `close_my_listing`. Ban protection: one request at a time no more than once per 3 seconds, messages no more than once a minute, up to 20 per day and never the same text twice in one chat.

Who it is for. Buyers and sellers on Avito who keep a signed-in Chrome and want to run search, correspondence and closing of listings through an agent, in ChatGPT or Claude Code.

Good fit when

  • A search for RTX 5060 video cards in your city runs with the "used" filter and a seller check
  • One question goes to the sellers of several listings after user confirmation
  • Your own sold listing is closed with a chosen reason and moved to the archive
  • Avito Delivery orders, purchases and sales, are viewed with status and tracking number

Not a fit when

  • A Chrome with a debugging port cannot be launched: the server connects only over CDP
  • Mass mailings or data collection are needed: messages are limited to 20 per day and requests go one at a time
  • An agent must write and close listings with no human confirmation: the prompts assume user consent

Example request

Find a used RTX 5060 in my city, sort by price and show sellers with rating and reviews, send no messages.

MCP

Transport
stdio, http
Authentication
not required

Environment variables

CDP_URL
Chrome debugging port address, `http://127.0.0.1:9223` by default.
AVITO_REGION
Default search city, a slug from Avito URLs.
AVITO_SEND_GAP_SEC
Minimum pause between messages, 60 seconds by default.
AVITO_DAILY_LIMIT
Messages per 24 hours, 20 by default.

Limitations

Node.js 22 and Chrome or Chromium launched with `--remote-debugging-port=9222` and signed in to Avito are required. Requests go one at a time no more than once per 3 seconds. Sending messages is limited: one per minute, `AVITO_SEND_GAP_SEC`, and 20 per day, `AVITO_DAILY_LIMIT`.

If the Avito security check blocks a background request, the page is opened by a real navigation in a temporary tab. Launch: `npm install`, `npm run build`, then `npm start` over HTTP at `127.0.0.1:3000/mcp` or `npm run stdio`. The debugging port address comes from `CDP_URL` and for a remote Chrome the port is forwarded over SSH. This is an unofficial site client and its operation depends on Avito markup.

How to disable. Stop the server process, remove the entry from the client configuration and close the Chrome debugging port.

FAQ

How do I run avito-mcp?

Launch Chrome with `--remote-debugging-port=9222`, sign in to Avito, then run `npm install`, `npm run build` and `npm start` or `npm run stdio`.

Does the server extract cookies from the browser?

No. Requests run from an avito.ru tab of Chrome itself, so the session and cookies stay in the browser.

How many messages can be sent?

One per minute and up to 20 per day, and never the same text twice in one chat. Limits are changed with `AVITO_SEND_GAP_SEC` and `AVITO_DAILY_LIMIT`.

How do I use the server in ChatGPT?

Run `npm start`: the server raises Streamable HTTP at `http://127.0.0.1:3000/mcp`. For Claude Code there is `npm run stdio` and a `.mcp.json` file.

Can a closed listing be restored?

Yes. The `close_listing` tool moves a listing to the archive and it can be restored in the Avito cabinet.

Discussion

No questions or reviews yet.

Avito Shopping MCP

avito-shopping-mcp

Russian stack

MCP server for an Avito buyer: listing search, prices, cards and seller reviews through a local Chrome session, read-only

MCP serverExtended access
Russian stack

An MCP server for an Avito seller account: buyer chats, listings, stats, promotion and orders, with a read-only mode

MCP serverBroad access26Repository stars
Russian stack

A Python MCP server on Playwright that lets an agent work on Avito from your account: search, item pages, messages to sellers and publishing listings

MCP serverBroad access6Repository stars
Russian stack

MCP server in Go for the Avito Business API: profile, own listings, price changes, chats and sending messages to buyers

MCP serverBroad access
Russian stack

A single-marketplace distribution of the marketplaces-mcp-ru core just for Avito: 64 API methods via a method catalog instead of a hundred separate tools

MCP serverBroad access3Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
avito-mcp (oleg909902) (this card)nonot required0
avito-mcpnoAPI key26another Avito server without the messenger, Delivery orders and listing closing
Avito Personal MCP: no API keys needednonot required2a personal cabinet server without search through a Chrome session over CDP

README in short

The README in English shows a ChatGPT example request, a table of tools and prompts, ban protection, requirements, running, environment variables, connecting to Chrome on a remote server, Docker and the project layout.

README badge

Report a problem

Foxx AIavito-mcp (oleg909902)
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.