Skip to main content
Glama
miskai-mcp

miskai-mcp

by lietuva-mcp

miskai-mcp

ci

Lithuania's valid felling permits (leidimai kirsti mišką) for Claude and any MCP client. Ask "what may be cut on parcel 3863/0009:0327?", "what clear-cuts are planned within 3 km of here?" or "how much pine may be felled in Varėna district?", and it reads the State Forest Service's (Valstybinė miškų tarnyba, VMT) live map of permits, atvira.amvmt.lt, which VMT updates daily.

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


What it can do

Tool

What it answers

miskai_permits_by_parcel

The valid permits on a private forest's land parcel, by its cadastral number (3863/0009:0327), or on any forest quarter, a state one too, by its forest district and quarter (Matuizų, 348), with a plot and the unit if wanted. Up to 100, newest first.

miskai_permits_near

How many valid permits have a polygon within 0.1 to 25 km of a point (latitude, longitude), and 20 of them (or up to 50), each with its distance and its polygon's centroid: the nearest, or with issued_since the newest, newest first and then nearest.

miskai_permits_in

A summary of the valid permits in a municipality, a State Forest Enterprise unit or a forest district: their count, area and volume, the same by cutting kind and by species, as the service itself sums them, and the newest 10 (or up to 50).

miskai_permit

One permit by its id, every field, and its polygon as GeoJSON, simplified to about 5 m.

Both take the same filters: cutting_kind, species and ownership, matched in any case as the map writes them, and issued_since, the permits valid from that day or later.

Every permit has its id, type, status, validity, cadastral number (private forests), municipality, unit, forest district, quarter and plots, area (ha), volume (m³), dominant species, cutting kind, regeneration and ownership. Answers are Markdown: a table, or **Label:** value lines, values in Lithuanian as the map gives them, — where it gives none. Areas and volumes are to two decimals: the layer holds areas as single-precision floats, and its sums of them carry noise past the second decimal (3238.7999946177006 ha).

"Valid" is every permit not cancelled whose validity ends today or later, including ones that start later; with valid_on, those valid on that day.

What it does not do: find a place by its name (give a point, a parcel or a quarter), read permits no longer on the map, or name owners (the map has none).


Related MCP server: lietuvos-viesieji-pirkimai-mcp

Install it

You need Node.js 22 or newer (node --version; get it from nodejs.org).

Claude Code

claude mcp add miskai -- npx -y @lietuva-mcp/miskai

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

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

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


How it treats VMT

VMT publishes the map as open data ("Atviri duomenys suteikia galimybę stebėti, kur ir kokie darbai yra numatyti") but states no licence or terms of use for it, on the map, its ArcGIS items or its own pages, and its host serves no robots.txt; every answer credits it as Valstybinė miškų tarnyba, leidimų kirsti mišką žemėlapis (atvira.amvmt.lt) and says so.

  • It says who it is. Every request carries lietuva-mcp-miskai/<version> (+https://github.com/lietuva-mcp/miskai) as its user agent.

  • It asks the map's own service. The layer behind the map (lkmp_data, an ArcGIS Online feature service), through its public query operation, and nothing else: not the geocoders the map uses, which are VMT's paid services.

  • It is paced. At most one request every 250 ms, the first at once. A call whose turn is more than five seconds off is refused, not queued. A call is one to four requests; the first that names a unit, district, cutting kind, species or ownership reads that field's names once.

  • It lets the service count. Totals come from the service's own statistics; the table is never paged through.

  • It takes no for an answer. A 500, 502 or 504, in the status or in the service's answer, is asked once more, in its turn, and no more. A refusal (403, 429, 503, a bot check, anything else) is reported and never retried. A redirect is followed only on the service itself, at most 3 times.

  • It keeps almost nothing. No cookies, no login; only the names it matches arguments against, once per process.

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 VMT knows whose many requests come from your address.

Municipality names are Registrų centras' address register's (get.data.gov.lt, CC BY 4.0), by the codes the map gives.


Develop

pnpm install
pnpm test        # node --test, against a fake of the service on 127.0.0.1 replaying its answers (fixtures/)
pnpm record      # asks the real service, paced, for any answer a test needs that fixtures/ lacks, and saves it
pnpm typecheck
pnpm lint
pnpm build       # dist/main.js, the published bundle

Contributing needs Node 24, which runs the TypeScript sources directly.

Not affiliated with Valstybinė miškų tarnyba or Esri.

License

The code is MIT. The map's data is VMT's, published as open data with no licence stated.

Available Tools

4 tools
miskai_permitA
Read-onlyIdempotent

One felling permit's polygon on VMT's live map of permits (atvira.amvmt.lt, updated daily), by its id, such as 12604589, as the other miskai tools answer it: all its fields as Markdown Label: lines, values as the map gives them in Lithuanian (Cadastral number — for a state forest, Regeneration, Unit or Forest district — where the map names none), and its polygon as a GeoJSON geometry in WGS 84, simplified to about 5 m. Answered whether or not it is still valid or was cancelled: its status and validity say.

Inputs: id (required).

miskai_permits_by_parcelA
Read-onlyIdempotent

Felling permits (leidimai kirsti mišką) on one place, from VMT's live map of permits (atvira.amvmt.lt, updated daily): a private forest by its land parcel's cadastral number, such as 3863/0009:0327, or any forest, a state one too, by its forest district (girininkija), quarter (kvartalas) and, if wanted, plot (sklypas) and the State Forest Enterprise unit (padalinys) the district is in, where two districts share a name. Each permit with its id, type, status, validity, cadastral number, municipality, unit, district, quarter and plots, area (ha), volume (m³), dominant species, cutting kind, regeneration and ownership, newest first. Only valid permits: by default every one not cancelled whose validity ends today or later (including ones that start later); with valid_on (YYYY-MM-DD), those valid on that day. Answered as Markdown: a table, a permit a row, values as the map gives them in Lithuanian; Cadastral number is — for state forests, Regeneration for most permits, Unit and Forest district for a handful. Up to 100 permits. One permit's polygon is miskai_permit.

Inputs: plot, unit, parcel, quarter, +2 more.

miskai_permits_inA
Read-onlyIdempotent

A summary of the felling permits in one area, from VMT's live map of permits (atvira.amvmt.lt, updated daily), as the service itself counts and sums them: in a municipality, a State Forest Enterprise unit (padalinys) or a forest district (girininkija, with its unit where two share a name). Filtered if asked by cutting kind, dominant species and ownership, each matched in any case as VMT's map writes it (a name it does not hold is refused, with the ones it does), and by issued_since, the permits valid from that day or later. How many there are, their total area (ha) and volume (m³), to two decimals, the same by cutting kind and by species, and the newest of them in full, 10 unless limit says (at most 50). Areas are matched in any case too. Only valid permits: by default every one not cancelled whose validity ends today or later (including ones that start later); with valid_on (YYYY-MM-DD), those valid on that day. Answered as Markdown: a table, a permit a row, values as the map gives them in Lithuanian; Cadastral number is — for state forests, Regeneration for most permits, Unit and Forest district for a handful.

Inputs: unit, limit, species, valid_on, +5 more.

miskai_permits_nearA
Read-onlyIdempotent

Felling permits near a point, from VMT's live map of permits (atvira.amvmt.lt, updated daily): how many have a polygon within radius_km (0.1 to 25) of it, and 20 of them unless limit says (at most 50): the nearest, nearest first, or with issued_since the newest, newest first by the day their validity starts and then nearest. Each with its distance in km from the point to its polygon's centroid, the centroid (latitude, longitude), its id, validity, area (ha), volume (m³), dominant species, cutting kind, ownership and the rest of its fields. Filtered if asked by cutting kind, dominant species and ownership, each matched in any case as VMT's map writes it (a name it does not hold is refused, with the ones it does), and by issued_since, the permits valid from that day or later. Only valid permits: by default every one not cancelled whose validity ends today or later (including ones that start later); with valid_on (YYYY-MM-DD), those valid on that day. Answered as Markdown: a table, a permit a row, values as the map gives them in Lithuanian; Cadastral number is — for state forests, Regeneration for most permits, Unit and Forest district for a handful. The point is WGS 84 latitude and longitude in Lithuania; this tool finds no place by its name. One permit's polygon is miskai_permit.

Inputs: latitude (required), longitude (required), radius_km (required), limit, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 4 tools

    Disambiguation4/5

    The four tools separate query modes well: permits by parcel/forest unit, permits near a point, an area-level summary, and single-permit detail with polygon. The only mild overlap is forest-district/municipality filtering between miskai_permits_by_parcel and miskai_permits_in, but one lists permits while the other aggregates, and the descriptions make that distinction clear.

    Naming Consistency5/5

    All tool names use snake_case with the miskai_ prefix and follow a predictable permits_<mode> pattern, with the singular miskai_permit reserved for one permit. The plural/singular distinction is semantically meaningful and consistent throughout.

    Tool Count5/5

    Four tools is well-scoped for a read-only map query service. Each tool covers a distinct access pattern—by location, by proximity, by area summary, and by single permit ID—with no redundant or filler tools.

    Completeness4/5

    The surface covers the core query workflows: locating permits by parcel or forest unit, proximity search, area aggregation, and full permit detail including geometry. Minor gaps remain, such as no bulk geometry retrieval and no explicit reference-data listing for filter values, though the tools expose valid names when rejecting unrecognized filters.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables retrieval of Russian real estate cadastral data including coordinates, property information, area, cadastral value, and GeoJSON geometry by cadastral number using Rosreestr API.
      5
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Local MCP server for the Slovak land registry (kataster nehnuteľností SR): parcels, ownership sheets (LV) and owners for a given parcel within the portal's rate limits, soil quality, LPIS, flood zones, nature protection and maps.
      11
      44 PyPI
      4
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Read-only access to Portugal’s official property cadastre (DGT Cadastro Predial): look up a parcel by map point, list parcels in a municipality, or check coverage. Accent-insensitive municipality names. Covers only 118 municipalities; Porto has no parcels, Lisboa only isolated records. Data: CC BY 4.0, Direção-Geral do Território. Not an official certificate (not a certidão or caderneta).
      3
      MIT