Skip to main content
Glama
domoplius-mcp

domoplius-mcp

by lietuva-mcp
README.md
# domoplius-mcp

[![ci](https://github.com/lietuva-mcp/domoplius/actions/workflows/ci.yml/badge.svg)](https://github.com/lietuva-mcp/domoplius/actions/workflows/ci.yml)

Domoplius.lt for Claude and any MCP client. Ask "what 2-room flats are for rent in Kaunas?" or "what does this listing
say about heating?", and it reads Lithuania's property listings the way an anonymous visitor would.

Zero dependencies: Node's own `fetch`, and nothing else.

---

## What it can do

| Tool | What it answers |
| --- | --- |
| `domoplius_search` | Flats, houses, plots, commercial premises or garages for sale or rent, in a town and its district: a page of up to 20 at a time, `page` reading the next, in the site's own order, each with its title, the short line the search shows (area, year built, rooms, floor), its asking price and price per m² (per are for a plot), its town and district, sale or rent, whether its seller paid for stars, and its page. Leaves promoted listings out on request. |
| `domoplius_item` | One listing, by its link: sale or rent, asking price and price per m², area, plot, rooms, floor and year built, its town, district and street, the days it was added and updated, every detail it gives in Lithuanian, its features and the seller's description. |

What it does not do: log in, message sellers, read a seller's or agent's name, phone or e-mail, filter by price, rooms or
words, reorder the results, or read more than one page a call. Domoplius.lt orders a search by the stars sellers pay
for, then by how new a listing is; each row says whether it is promoted, and `without_promoted` leaves those out.
Prices are asking prices.

---

## Install it

You need Node.js 22 or newer (`node --version`; get it from [nodejs.org](https://nodejs.org)).

**Claude Code**

```sh
claude mcp add domoplius -- npx -y @lietuva-mcp/domoplius
```

**Claude Desktop**: Settings → Developer → Edit Config, and add:

```json
{
  "mcpServers": {
    "domoplius": { "command": "npx", "args": ["-y", "@lietuva-mcp/domoplius"] }
  }
}
```

Any other MCP client: run `npx -y @lietuva-mcp/domoplius` as a stdio server.

It runs from your own network. Domoplius.lt answers requests from cloud providers' addresses (Google Cloud, Hostinger)
with a Cloudflare challenge, and this server does not work around that, so it is not offered as a hosted connector.

---

## How it treats Domoplius.lt

- **It says who it is.** Every request carries
  `lietuva-mcp-domoplius/<version> (+https://github.com/lietuva-mcp/domoplius)` as its user agent, never a browser's.
- **It reads only what robots.txt allows everyone.** It searches through the site's own landing pages,
  `/skelbimai/<type>/<sale or rent>/<town>/<district>` and their `?page=`, never the price, rooms, words or order
  filters robots.txt disallows, which is why it has none of those.
- **It is paced.** At most one request every half second, the first at once. A call whose turn is more than five
  seconds off is refused, not queued.
- **It takes no for an answer.** A refusal (403, 429, 503, a challenge, anything but the page) is reported once and
  never retried or worked around. A redirect is followed only on Domoplius.lt itself, at most 3 times.
- **It keeps nothing.** No login, no cookies, no cache: each call is a fresh anonymous visit to public pages.
- **It leaves sellers alone.** A listing's page carries its seller's or agent's name, phone and e-mail; they are never
  read. A phone number or e-mail address typed into a title, a detail or the description comes back as
  `[phone removed]` or `[email removed]`. The address it answers stops at the street, though a seller's own text
  may say more.

Domoplius.lt's terms forbid automated systems that collect its content. Its robots.txt allows AI assistants fetching
for a person by name (`ClaudeBot`, `ChatGPT-User`, `Perplexity-User` and others). This server is not a crawler and
builds no dataset: it reads one page when a person's agent asks for one, paced as above, and keeps nothing.

Hosting it for other people? Set `LIETUVA_MCP_OPERATOR` to your name, such as `example.com`, and the user agent
says `operated by example.com`, so Domoplius.lt knows whose many requests come from your address.

What sellers write reaches the model as data: the tools tell it so, and never to follow instructions in a listing.

---

## Develop

```sh
pnpm install
pnpm test        # node --test, against a fake Domoplius.lt on 127.0.0.1
pnpm typecheck
pnpm lint
pnpm build       # dist/main.js, the published bundle
```

Contributing needs Node 24, which runs the TypeScript sources directly. The site renders each page from JSON it
carries in the page (Inertia's `data-page`), and the tools read that rather than the markup. `fixtures/` holds pages
saved from Domoplius.lt and trimmed, with every contact made up.

Not affiliated with Domoplius.lt.

## License

MIT

TDQS

A4.4/5.0

Scored across 2 tools

Disambiguation5/5

The two tools split cleanly along browse-vs-detail lines: domoplius_search returns one page of listing rows and domoplius_item returns a single listing by link, with the description explicitly cross-referencing each other. There is no overlap in inputs or outputs, so misselection is unlikely.

Naming Consistency5/5

Both names use the same domoplius_ prefix plus a short lowercase noun/verb (search, item), giving a predictable, consistent convention even with only two tools. No mixing of casing or verb styles.

Tool Count3/5

Two tools is thin for a listings server; a single search plus a single detail fetch is the minimum viable pair. It is defensible for a read-only mirror of the site, but leaves no room for any auxiliary operation.

Completeness4/5

Search plus item covers the core read lifecycle, including pagination via a page argument, which agents can follow to the end. The stated lack of price, rooms, or keyword filters and of alternate sorting is a real gap, but the raw rows give agents enough to work around it.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues