sodra
# sodra-mcp
[](https://github.com/lietuva-mcp/sodra/actions/workflows/ci.yml)
Lithuania's social insurance fund (Valstybinio socialinio draudimo fondo valdyba, Sodra) for Claude and any MCP
client. Ask "how many people does the company with code 121215434 employ, and what is their average wage?" or "does
it owe Sodra anything?", and it reads Sodra's open company data on [atvira.sodra.lt](https://atvira.sodra.lt/imones/).
Zero dependencies: Node's own `fetch`, and nothing else.
---
## What it can do
| Tool | What it answers |
| --- | --- |
| `sodra_employer` | One employer by its 9-digit company code: its name, municipality and economic activity; its latest 12 months, newest first, each with the people it insured, their average gross wage, Sodra's second group (author's, sports and performer's contracts, tantiemes) and the social insurance contributions calculated; and what it owed Sodra, with the deferred part, on the last day of its latest month. |
The answer is Markdown: a heading with the employer's name and code, its municipality and activity, a table of its
months, its debt, and a last line crediting Sodra and the employer's page. Sodra withholds an average wage and the
contributions where 3 people or fewer are behind them; those are `—`. Sodra publishes a month by the end of the next, so late in November the latest is October. Names are in
Lithuanian, as Sodra writes them; amounts are in euros.
What it does not do: find an employer by its name (the Register of Legal Entities does, for example with
[@lietuva-mcp/jar](https://github.com/lietuva-mcp/jar)'s `jar_search`), answer months before the latest 12, read the
medians, quartiles and averages by sex or the daily debtor list that Sodra publishes as files on
[sodra.lt](https://sodra.lt/viesi-draudeju-duomenys), or log in to anything.
---
## 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 sodra -- npx -y @lietuva-mcp/sodra
```
**Claude Desktop**: Settings → Developer → Edit Config, and add:
```json
{
"mcpServers": {
"sodra": { "command": "npx", "args": ["-y", "@lietuva-mcp/sodra"] }
}
}
```
Any other MCP client: run `npx -y @lietuva-mcp/sodra` as a stdio server.
---
## How it treats Sodra
- **It asks only about the employer asked about.** Sodra publishes its company data two ways: whole files on its
[datasets page](https://atvira.sodra.lt/imones/rinkiniai/index.html) (2026's ten months so far are 13 MB zipped,
159 MB of CSV; a month of daily figures, debt among them, 22 MB zipped), and an employer's own page, which reads that employer's
figures as JSON. This server reads what the page reads, and nothing else: the employer's months (about 50 KB),
then its debt and its deferred debt in its latest month (about 1 KB each). Three small requests a call, the
deferred debt left out where no debt is published; it never downloads a file of every employer.
- **It says who it is.** Every request carries
`lietuva-mcp-sodra/<version> (+https://github.com/lietuva-mcp/sodra)` as its user agent, never a browser's.
- **It is paced.** At most one request every half second, the first at once, so a call takes about a second. 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 server error, a bot check, anything but the answer) is
reported once and never retried or worked around. A redirect is followed only on atvira.sodra.lt itself, at most 3
times.
- **It keeps nothing.** No login, no cookies, no cache: each call is a fresh anonymous visit.
- **It leaves people alone.** It takes only a legal entity's 9-digit code, and answers only the rows Sodra lists
under that code: a natural person, a sole trader on individual activity among them, has none, so is never
answered, and a code that is not a company's is not repeated back.
robots.txt: atvira.sodra.lt has none (404), so nothing is disallowed. Terms: neither atvira.sodra.lt nor
sodra.lt has terms of use for this data.
Hosting it for other people? Set `LIETUVA_MCP_OPERATOR` to your name, such as `example.org`, and the user agent says
`operated by example.org`, so Sodra knows whose many requests come from your address.
---
## The data and its licence
The data is Sodra's: the figures the Law on State Social Insurance (article 15, part 3) makes public for every
employer, which Sodra publishes as "Atviri įmonių duomenys" (open company data). atvira.sodra.lt states no licence of
its own. The Law on the Right to Obtain Information and on the Re-use of Data (VIII-1524) lets anyone re-use it,
naming its source and the date it was obtained, and the datasets Sodra lists on
[data.gov.lt](https://data.gov.lt/datasets/1508/) are CC BY 4.0. Every answer ends with its attribution, the
employer's own page and the day it was read:
`_Source: Valstybinio socialinio draudimo fondo valdyba (Sodra), Atviri įmonių duomenys: https://atvira.sodra.lt/imones/detaliai/index.html?code=42307, public pages, read <date>._`
Pass it on with what you use; the months and the debt's "As of" date the figures.
---
## Develop
```sh
pnpm install
pnpm test # node --test, against a fake atvira.sodra.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 fake answers with Sodra's own answers,
saved in `fixtures/` (2026-11-28) and trimmed to their last months.
Not affiliated with Sodra.
## License
The code is MIT. The data it reads is Sodra's (see above).
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of confusing it with another tool in the set. Its purpose is clearly bounded to retrieving one Lithuanian employer's Sodra record by company code.
The single tool uses a clear snake_case name with the server prefix and a descriptive resource label. With only one tool there are no naming conflicts or inconsistent conventions.
The server appears intentionally narrow, so one tool is not inherently wrong. However, a one-tool surface is thin and offers no separate operation for discovery, search, or related employer queries.
For the stated purpose—looking up one employer by its 9-digit Sodra code—the tool returns a rich profile including monthly figures and debt. The main gap is that it provides no way to discover or search for company codes, so agents must already know the exact identifier.