nplg_record_marc
Pack: nplg-catalog · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/nplg_record_marc for the schema, then POST the same URL with its arguments for the data.
Fetch the full MARC record for one bib id in the National Parliamentary Library of Georgia catalogue (the bib_id nplg_search returns, e.g. “b4972685”). Returns the leader, control fields and every data field with its indicators and subfields kept separate — so the 041 language codes and the parallel Georgian/English 245 stay machine-readable rather than flattened into one string.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bib_id | string | yes | Sierra bib id as returned by nplg_search, e.g. “b4972685”. The leading “b” is optional. |
Example call
Arguments
{
"bib_id": "b4972685"
}
curl
curl -X POST https://gateway.pipeworx.io/nplg-catalog/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nplg_record_marc","arguments":{"bib_id":"b4972685"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nplg_record_marc', {
"bib_id": "b4972685"
});
More examples
{
"bib_id": "b4960146"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the nplg-catalog pack
{
"mcpServers": {
"nplg-catalog": {
"url": "https://gateway.pipeworx.io/nplg-catalog/mcp"
}
}
}
See Getting Started for client-specific install steps.