Skip to main content
Glama

vmi-mcp

ci

Lithuania's State Tax Inspectorate (Valstybinė mokesčių inspekcija, VMI) for Claude and any MCP client. Ask "does the company with code 121215434 owe any taxes?" or "how much tax did it pay last year?", and it reads VMI's open data on get.data.gov.lt.

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


What it can do

Tool

What it answers

vmi_company

One legal entity by its 9-digit code, in three parts: its entry in VMI's taxpayer register (taxpayer types, registration dates, VAT code and its dates, the economic activities it carries on with the main one marked, the taxpayer groups it belongs to); the tax arrears VMI lists it with (total, overdue, deferred, and the deferred part overdue, as of the day VMI last updated it, or none); and the taxes it paid into VMI's accounts each year.

Each part names the dataset it comes from and its licence. Types, activities and groups are in Lithuanian, as VMI writes them; amounts are in euros.

What it does not do: find a company by its name (the Register of Legal Entities does, for example with @lietuva-mcp/jar's jar_search), break taxes paid down by tax (VMI publishes one total a year), or log in to anything.


Related MCP server: mcp-french-company-data

Install it

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

Claude Code

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

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

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

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


How it treats the API

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

  • It is paced. At most one request every 250 ms, the first at once; at 100 ms the API answered 429. A call whose turn is more than five seconds off is refused, not queued. One vmi_company is three requests, one per dataset.

  • It takes no for an answer. The API fails a request with 500, 502 or 504 now and then by itself, so that one request is sent once more, in its turn, and no more. A refusal (429, 503, anything else) is reported and never retried. A redirect is not followed.

  • It sorts for itself. Years and activities are ordered here, not by the API.

  • It keeps nothing. Every answer is asked for afresh.

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


The data

Part

Dataset

Licence

taxpayer_register

Mokesčių mokėtojų registre fiksuoti juridinių asmenų duomenys (datasets/gov/vmi/mm_registras), updated daily

CC BY 4.0

activity names in it

Ekonominės veiklos rūšių klasifikatorius (EVRK 2 red.) (datasets/gov/lsd/cl/evrk), Valstybės duomenų agentūra

CC BY 4.0

tax_arrears

Juridinių asmenų mokestinė nepriemoka (datasets/gov/vmi/ja_nepriemokos), updated daily

CC BY 4.0

taxes_paid

Juridinių asmenų sumokėti mokesčiai (datasets/gov/vmi/ja_mokesciai), updated monthly

CC BY 4.0

Where the licences come from: data.gov.lt answers scripts with 403, and the API itself publishes no licence, so they were read on 2026-11-28 from the EU's data portal, which harvests data.gov.lt's catalogue and lists each dataset's licence there: 607, 1202, 673, 1927. Every part of an answer carries its attribution in a source field, such as Valstybinė mokesčių inspekcija, Juridinių asmenų mokestinė nepriemoka (open data, data.gov.lt/datasets/1202, CC BY 4.0). Pass it on with what you use.

What to know about it:

  • Arrears are VMI's statistics, not a certificate of debt. VMI says so in the dataset's description; enforcement orders are left out. as_of is the day VMI last updated the entity's entry. An entity VMI does not list owes nothing by this dataset, and owed is null.

  • The taxpayer register drops entities long gone. One deregistered years ago can be missing from it and still be listed with arrears (3 of 8 sampled debtors, 2026-11-28); its entry is then null. A code that no dataset holds is an error.

  • Some activities have no code. Activities begun since 2025, when EVRK 2.1 came in, are often linked to no EVRK 2 class in the open data (about a third of current ones, 2026-11-28); they are answered with an empty code and name, not left out.

  • Taxes paid is one total a year. The current year runs from January to through_month.

  • The API is slow at times. Asked about a company for the first time, each dataset took from a fraction of a second to some fifteen seconds (2026-11-28), so one vmi_company can take half a minute. A request unanswered after twenty seconds is given up on and said to be.


Develop

pnpm install
pnpm test        # node --test, against a fake of the API on 127.0.0.1 serving answers saved from it
pnpm typecheck
pnpm lint
pnpm build       # dist/main.js, the published bundle

Contributing needs Node 24, which runs the TypeScript sources directly. The API's answers the tests serve are in fixtures/, saved from get.data.gov.lt on 2026-11-28.

Not affiliated with Valstybinė mokesčių inspekcija.

License

The code is MIT. The data it reads is CC BY 4.0, Valstybinė mokesčių inspekcija's (and Valstybės duomenų agentūra's for the activity classifier).

Available Tools

1 tool
vmi_companyA
Read-onlyIdempotent

One Lithuanian legal entity in the State Tax Inspectorate's (VMI) open data, by its 9-digit code, in three parts, each naming the dataset and licence it comes from. taxpayer_register.entry: its entry in VMI's taxpayer register as it stands (taxpayer types, registration and deregistration dates, VAT code with its registration and deregistration dates, the economic activities it carries on by EVRK code with the main one marked, and the taxpayer groups it belongs to), or null where the register no longer holds it; an activity begun since 2025 that the open data links to no EVRK class has an empty code and name. tax_arrears.owed: the declared taxes VMI lists it as owing, in euros (total, overdue, deferred under a tax loan or restructuring, and the deferred part overdue) as of the day VMI last updated it, or null where VMI lists none; VMI publishes it as statistics, not as a certificate of debt. taxes_paid.years: the taxes it paid into VMI's accounts each year, one total with no breakdown by tax, newest first, the current year from January to through_month. Texts are in Lithuanian, as VMI writes them. A code no dataset holds is an error.

Inputs: code (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    There is only one tool, so an agent can never misselect between competing options. Its purpose — a by-code lookup of one Lithuanian legal entity across three named VMI datasets — is stated unambiguously in the description.

    Naming Consistency4/5

    The single name vmi_company is snake_case with a clear source prefix and resource noun, and is internally readable. With only one tool there is no cross-tool pattern to validate, so it falls short of a demonstrated verb_noun convention.

    Tool Count3/5

    One tool is thin for a data server, and it bundles three distinct datasets (register entry, arrears, taxes paid) into a single all-or-nothing call, so callers cannot request just the slice they need. Still, the underlying source is narrow enough that a single lookup entry point is defensible.

    Completeness3/5

    The three main VMI open datasets for one entity are covered, but access is strictly by 9-digit code: there is no name-based search, listing, or discovery path, which will dead-end agents that only know a company name. No write operations are expected for an open-data read surface.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP clients to look up French companies in official open data, retrieving identity, status, legal form, address, VAT number and latest published accounts from the API Recherche d'entreprises. Also surfaces BODACC legal announcements such as insolvency proceedings, deregistrations, accounts filings and modifications, with no API key and read-only access.
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to look up registered, liquidating, and bankrupt entities by registry code or name, returning identity, legal form, VAT number, status, address, activity areas (EMTAK/NACE), beneficial owners, and selected financial indicators plus sales-by-activity breakdowns from filed annual reports. Supports prefix name search with status filtering and per-year report statistics.
      67 npm
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants to search Slovak legal entities and retrieve detailed, historical, and organizational-unit information through the public register API.
      2
      MIT