Skip to content
MCP server

Divar

Unofficial read-only Divar: search Iran's classified ads, cheapest and best-value ads…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.1
Listing updated
5 days ago

About Divar

Divar is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Unofficial read-only Divar: search Iran's classified ads, cheapest and best-value ads, price checks.

Install

Run in a terminal

claude mcp add divar-mcp -- uvx divar-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "divar-mcp": {
      "command": "uvx",
      "args": [
        "divar-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "divar-mcp": {
      "command": "uvx",
      "args": [
        "divar-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "divar-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "divar-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "divar-mcp": {
      "command": "uvx",
      "args": [
        "divar-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "divar-mcp": {
      "command": "uvx",
      "args": [
        "divar-mcp"
      ]
    }
  }
}

Configuration

  • DIVAR_MCP_PROXYOptional HTTP proxy URL for requests to divar.ir, or a comma-separated list: one is used until it gets blocked or fails to connect, then the next. System proxy settings are ignored.

Pricing

Open source

Divar FAQ

Is Divar free?

Yes. Divar is open source, so you can use and self-host it for free.

How do I add Divar to Claude Code?

Run this command in your terminal: claude mcp add divar-mcp -- uvx divar-mcp