Library of Congress MCP Server for Claude CodeGive Claude Code instant access to 8 tools to Get Collection Items, Get Image Info, Get Item, and more
Claude Code is Anthropic's agentic CLI for terminal-first development. Add Library of Congress as an MCP server in one command and Claude Code will discover every tool at runtime. ideal for automation pipelines, CI/CD integration, and headless workflows via Vinkius.
Ask AI about this MCP Server for Claude Code
The Library of Congress MCP Server for Claude Code is a standout in the Knowledge Management category — giving your AI agent 8 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
# Your Vinkius token. get it at cloud.vinkius.com
claude mcp add library-of-congress --transport http "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install Library of Congress and 4,000+ MCP Servers from a single visual interface.





* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Library of Congress MCP Server
Connect your AI agent to the Library of Congress (LOC) and explore the vast digital archives of the United States' oldest federal cultural institution. Access millions of records, from historical newspapers to rare maps and sound recordings.
Claude Code registers Library of Congress as an MCP server in a single terminal command. Once connected, Claude Code discovers all 8 tools at runtime and can call them headlessly. ideal for CI/CD pipelines, cron jobs, and automated workflows where Library of Congress data drives decisions without human intervention.
What you can do
- Global Search — Search across the entire LOC catalog including items, legislation, and blogs using the
searchtool. - Digital Collections — Browse and list all available digital collections or drill down into specific ones like the 'Abraham Lincoln Papers' using
list_collectionsandget_collection_items. - Format-Specific Discovery — Filter your research by specific media types such as maps, audio, or photos with
search_format. - Deep Bibliographic Research — Retrieve detailed metadata and digital resource links for specific items using
get_item. - OCR & Text Analysis — Access full-text OCR, word coordinates, and context snippets for digitized documents via
get_text_service. - Technical Image Metadata — Fetch IIIF technical data for high-resolution images using
get_image_info.
The Library of Congress MCP Server exposes 8 tools through the Vinkius. Connect it to Claude Code in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 8 Library of Congress tools available for Claude Code
When Claude Code connects to Library of Congress through Vinkius, your AI agent gets direct access to every tool listed below — spanning digital-archives, historical-data, catalog-search, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get collection items on Library of Congress
List items within a specific collection
Get image info on Library of Congress
json for a specific image identifier. Get technical metadata about an image (IIIF)
Get item on Library of Congress
Get detailed bibliographic data for a single item
Get resource on Library of Congress
g., a specific page of a newspaper) using resource_id. Get access to discrete digitized files
Get text service on Library of Congress
Access full-text OCR, word coordinates, and context snippets
List collections on Library of Congress
List all digital collections
Search on Library of Congress
using a keyword query. Search the entire Library of Congress website
Search format on Library of Congress
g., maps, photos, audio). Search items of a specific format
Connect Library of Congress to Claude Code via MCP
Follow these steps to wire Library of Congress into Claude Code. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Claude Code
npm install -g @anthropic-ai/claude-code if not already installedAdd the MCP Server
Verify the connection
claude mcp to list connected servers, or type /mcp inside a sessionStart using Library of Congress
Why Use Claude Code with the Library of Congress MCP Server
Claude Code provides unique advantages when paired with Library of Congress through the Model Context Protocol.
Single-command setup: `claude mcp add` registers the server instantly. no config files to edit or applications to restart
Terminal-native workflow means MCP tools integrate seamlessly into shell scripts, CI/CD pipelines, and automated DevOps tasks
Claude Code runs headlessly, enabling unattended batch processing using Library of Congress tools in cron jobs or deployment scripts
Built by the same team that created the MCP protocol, ensuring first-class compatibility and the fastest adoption of new protocol features
Library of Congress + Claude Code Use Cases
Practical scenarios where Claude Code combined with the Library of Congress MCP Server delivers measurable value.
CI/CD integration: embed Library of Congress tool calls in your deployment pipeline to validate configurations or fetch secrets before shipping
Headless batch processing: schedule Claude Code to query Library of Congress nightly and generate reports without human intervention
Shell scripting: pipe Library of Congress outputs into other CLI tools for data transformation, filtering, and aggregation
Infrastructure monitoring: run Claude Code in a cron job to query Library of Congress status endpoints and alert on anomalies
Example Prompts for Library of Congress in Claude Code
Ready-to-use prompts you can give your Claude Code agent to start working with Library of Congress immediately.
"Search the Library of Congress for Civil War maps of Virginia."
"List all items in the 'world-war-i-posters' collection."
"Get the full text for the document segment 'service/gdc/gdcscd/00/01/02/03/0001.txt'."
Troubleshooting Library of Congress MCP Server with Claude Code
Common issues when connecting Library of Congress to Claude Code through Vinkius, and how to resolve them.
Command not found: claude
npm install -g @anthropic-ai/claude-codeConnection timeout
Library of Congress + Claude Code FAQ
Common questions about integrating Library of Congress MCP Server with Claude Code.
How do I add an MCP server to Claude Code?
claude mcp add --transport http "" in your terminal. Claude Code registers the server and discovers all tools immediately.Can Claude Code run MCP tools in headless mode?
How do I list all connected MCP servers?
claude mcp in your terminal to see all registered servers and their status, or type /mcp inside an active Claude Code session.Explore More MCP Servers
View all →
Cradl AI
10 toolsEquip your AI agent to extract structured data from any document using Cradl AI's deep learning models.

Prisma Cloud
7 toolsConnect Prisma Cloud to any AI agent via MCP.

Vagaro
10 toolsManage appointments, clients, staff, services, and retail for your Vagaro-powered salon, spa, or fitness business through natural conversation.

Kameleoon
10 toolsManage A/B testing, personalization, and experimentation workflows via AI agents.
