get_item
Pack: library-of-congress · 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/get_item for the schema, then POST the same URL with its arguments for the data.
Get full metadata for a single Library of Congress item (title, date, contributors, subjects, description, format, medium). Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | A LoC item id like “2017659044”, or a full loc.gov item URL. |
Example call
Arguments
{
"id": "2017659044"
}
curl
curl -X POST https://gateway.pipeworx.io/library-of-congress/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_item","arguments":{"id":"2017659044"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_item', {
"id": "2017659044"
});
More examples
{
"id": "https://www.loc.gov/item/2017659044/"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the library-of-congress pack
{
"mcpServers": {
"library-of-congress": {
"url": "https://gateway.pipeworx.io/library-of-congress/mcp"
}
}
}
See Getting Started for client-specific install steps.