Divar

v0.3.2
io.github.sepehr071/divar-mcp Checked 8 hours ago Published 13 days ago

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

Values you need

VariableWhat it is
DIVAR_MCP_PROXYoptional Optional 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.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add divar-mcp -- uvx divar-mcp==0.3.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "divar-mcp": {
      "args": [
        "divar-mcp==0.3.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "divar-mcp": {
      "args": [
        "divar-mcp==0.3.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "divar-mcp": {
      "args": [
        "divar-mcp==0.3.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.divar-mcp]
command = "uvx"
args = ["divar-mcp==0.3.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: dv_categories, dv_filters, dv_filter_options, dv_suggest, dv_parse_query, dv_post, dv_posts, dv_compare, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json