get_item
Pack: library-of-congress · Endpoint: https://gateway.pipeworx.io/library-of-congress/mcp
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:
{
"mcpServers": {
"library-of-congress": {
"url": "https://gateway.pipeworx.io/library-of-congress/mcp"
}
}
}
See Getting Started for client-specific install steps.