SIPRI Arms Transfers MCP
by pipeworx-io
README.md
# @pipeworx/sipri-arms-transfers
International transfers of major conventional arms by recipient and supplier country, as SIPRI trend-indicator values (TIV), queried live.
Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 2106+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
## Tools
- `sipri_arms_transfers(recipient?, supplier?, year_from?, year_to?, limit?)` — one row per deal (supplier, recipient, weapon designation and description, years ordered and delivered, TIV) plus total TIV by supplier. Answers "who supplied arms to Lithuania 2020-2025".
- `sipri_tiv_by_year(recipient?, supplier?, year_from?, year_to?)` — annual TIV series with the world total and share of world volume.
Country names are English as SIPRI lists them (USA, UK and Russia are accepted). An unknown name returns `reason: unknown_country` with suggestions; a country with no recorded deliveries returns `found: false, reason: no_deliveries_recorded`.
## Auth
Keyless.
## Data sources
- Stockholm International Peace Research Institute (SIPRI), Arms Transfers Database. Terms: https://www.sipri.org/about/terms-and-conditions
## Notes
- Each call goes to SIPRI at request time; nothing is stored. Results carry the citation SIPRI asks for.
- SIPRI's terms allow fair use (non-commercial, less than 10 per cent of a data set, clear reference to the source) and require a licence for commercial use. This pack follows the live-call rule in `docs/agent-rules/sourcing.md` (no mirror). The terms are quoted here so the owner can decide whether a licence conversation is wanted.
- TIV is a measure of military capability transferred, not a sales price, and covers major weapons only.
- The database's own web page uses anonymous, tokenless requests; the pack asks for the same things, one call per tool use, with an honest User-Agent.
- The register returns deals with deliveries in the year range; `tiv_delivered_in_range` sums to the database's own import total (Lithuania 2020-2025: 505.74 vs 506).
## Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
```json
{
"mcpServers": {
"sipri-arms-transfers": {
"url": "https://gateway.pipeworx.io/sipri-arms-transfers/mcp"
}
}
}
```
### What this endpoint actually serves
`tools/list` at `https://gateway.pipeworx.io/sipri-arms-transfers/mcp` returns the tools in the table
above **plus five Pipeworx tools**: `ask_pipeworx`, `discover_tools`, `ask_pipeworx_grounded`, `company_register_search` and `company_facts`.
`ask_pipeworx` answers a question this pack does not cover by routing across the
whole catalog, without adding a second MCP server.
Add an option to the same URL:
- `https://gateway.pipeworx.io/sipri-arms-transfers/mcp?meta=1` lists this pack's tools plus **up to 48 shared Pipeworx tools** (48 when this README was
generated; a connection without an account lists fewer, and its own `tools/list` is the
exact answer on any given day).
- `https://gateway.pipeworx.io/sipri-arms-transfers/mcp?meta=0` lists this pack's tools alone.
Or connect to the full Pipeworx gateway to get every pack's tools listed
directly, instead of just this one's:
```json
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
```
Both URLs reach the same gateway and the same 2106+ data sources. The
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
reaches all of them from either one (it is not listed on a `?meta=0` connection).
## No MCP client? Call it over HTTP
```bash
curl -X POST https://gateway.pipeworx.io/v1/tools/sipri_arms_transfers \
-H 'Content-Type: application/json' \
-d '{"recipient":"Lithuania","year_from":2020,"year_to":2025,"limit":10}'
```
No account needed for the first calls. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/sipri_arms_transfers`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.
## Run it from npm
`@pipeworx/mcp-sipri-arms-transfers` is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with `npx`, and it forwards every call to the same
`https://gateway.pipeworx.io/sipri-arms-transfers/mcp` endpoint shown above. It needs network access;
there is no offline mode.
```json
{
"mcpServers": {
"sipri-arms-transfers": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-sipri-arms-transfers"]
}
}
}
```
Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
`"env": { "PIPEWORX_API_KEY": "<your key>" }` to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists **only** this pack's tools by default. Set `PIPEWORX_META_TOOLS=1` to
also list `ask_pipeworx` and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in `fetch` does not read `HTTPS_PROXY` by
default. Newer Node releases honour it when `NODE_USE_ENV_PROXY=1` is set; check
your Node version's documentation.
## Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English —
this works on the pack endpoint above as well as on the full gateway:
```
ask_pipeworx({ question: "your question about Sipri Arms Transfers data" })
```
The gateway picks the right tool and fills the arguments automatically.
## More
- [Docs and guides](https://pipeworx.io/docs)
- [pipeworx.io](https://pipeworx.io)
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues