Library of Congress MCP. Query millions of historical records.
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
Library of Congress MCP connects your AI client to the digital archives of the United States' oldest federal cultural institution.
Search millions of historical newspapers, rare maps, sound recordings, and manuscripts directly from your IDE or chat interface. Stop manually navigating catalog portals and start pulling primary source data on demand.
What your AI agents can do
Get collection items
Lists every individual item contained within one specific digital collection.
List collections
Returns a complete list of all available digital collections in the archive.
Search format
Restricts your search to a specific media type like maps, photos, or audio files.
Query the entire LOC database using plain text keywords to find historical records.
Restrict search results to specific types like maps, audio files, or photographs.
List and drill down into curated archives like the Abraham Lincoln Papers.
Pull raw text, word coordinates, and context snippets from digitized documents.
Get IIIF technical data and coordinates for large format historical images.
Download specific pages of a newspaper or individual manuscript folios directly.
Ask AI about this MCP
Supported MCP Clients
OAuth 2.0 CompatibleWaiting for input…
Library of Congress MCP Tools (8 Tools)
Query the national archive, extract OCR text from historical documents, and fetch high-resolution image metadata directly from your AI client.
Make your AI actually useful.
Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.
Start using Library of Congress on Vinkius019e38b7get collection items
Lists every individual item contained within one specific digital collection.
019e38b7list collections
Returns a complete list of all available digital collections in the archive.
019e38b7search format
Restricts your search to a specific media type like maps, photos, or audio files.
019e38b7get image info
Returns IIIF technical metadata and coordinates for high-resolution historical images.
019e38b7get item
Pulls detailed bibliographic metadata for a single historical record.
019e38b7get resource
Fetches a discrete digitized file, like a specific page of a historical newspaper.
019e38b7search
Queries the entire Library of Congress website using a plain text keyword.
019e38b7get text service
Extracts full-text OCR, word coordinates, and context snippets from a document.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Library of Congress, then connect any of our 5,000+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 5,000+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Library of Congress. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This server provides 8 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Navigating the catalog portal is a waste of time.
You need a specific historical document. You open a browser, go to the LOC website, type in your search terms, and get hit with thousands of irrelevant results. You click through three different filter menus. You finally find the right item, click into it, and have to manually copy the bibliographic data or transcribe the text by hand. Honestly, it takes twenty minutes to find one primary source.
With this MCP, you just tell your agent what you are looking for. It queries the archive, filters by the exact media format, and pulls the structured metadata and full OCR text back to your editor. You get the raw data in seconds, ready for your research or analysis, without ever opening a browser tab.
Library of Congress MCP gives you the raw archive data.
The manual steps of clicking through collection menus, downloading massive image files just to check the metadata, and copying text from PDF viewers completely disappear. Your agent handles the API calls, fetches the IIIF image coordinates, and extracts the word-level OCR data automatically.
You stop acting as a middleman between your research and the database. The historical records come to you as clean, structured JSON, exactly when you need them.
What you can do with this MCP connector
You are looking at a direct pipeline to the Library of Congress. This MCP gives your AI client the keys to millions of digitized historical records. Think about the last time you needed to track down a specific Civil War map or pull the full text of a 19th-century newspaper.
You probably opened a browser, navigated a clunky web portal, clicked through three different filters, and copied text manually. That stops today. When you connect this through Vinkius, your agent handles the catalog navigation for you. You just ask for what you need. The agent queries the archives, filters by media type, and pulls the exact bibliographic metadata or high-resolution image coordinates you asked for.
It handles the OCR text extraction and image metadata behind the scenes. You get raw, structured data back in your workspace. This is built for people who actually need to read the primary sources. Historians tracking down manuscript drafts, data scientists running text analysis on historical newspapers, or educators building lesson plans from original documents.
Look, you do not need to learn the LOC API. You just talk to your agent. Keep in mind that while an API key is optional, adding one bumps up your rate limits significantly if you plan on running large batch queries. The bottom line is simple. You get instant access to the largest library in the world, delivered as structured JSON right where you work.
019e38b7-7061-71af-a9a5-e688f95656aa How Library of Congress MCP Works
- 1 Subscribe to the MCP and optionally add your Library of Congress API key for higher rate limits.
- 2 Connect your preferred AI client and ask it to find historical records, maps, or manuscripts.
- 3 Get structured bibliographic data, full OCR text, or image metadata returned directly to your workspace.
The bottom line is you skip the web portal and pull primary source data straight into your editor.
Who Is Library of Congress MCP For?
The academic researcher who is tired of clicking through clunky web portals to find primary sources. The data scientist who needs to run text analysis on historical newspapers without writing custom API wrappers. The educator looking for original documents to build a curriculum.
Pulls primary source manuscripts and bibliographic data for a paper without leaving their writing environment.
Extracts full-text OCR and word coordinates from thousands of historical documents for large-scale analysis.
Browses digital collections and retrieves specific high-resolution image metadata to catalog new acquisitions.
Searches for specific historical photographs and maps to build interactive lesson plans.
What Changes When You Connect
- You stop clicking through web portals. The search and search_format tools let your agent query millions of records using plain English, returning structured data directly to your chat.
- You get exact file access. Instead of downloading entire collections, get_resource pulls the exact discrete file you need, like page four of an 1890 newspaper.
- You skip manual text transcription. get_text_service extracts full OCR text and word coordinates from digitized manuscripts, handing you clean text for analysis.
- You get proper image data. get_image_info fetches IIIF technical metadata, giving your agent the exact coordinates needed to render or crop high-res historical photos.
- You navigate curated archives instantly. Use list_collections and get_collection_items to drill down into specific historical sets without guessing catalog numbers.
Real-World Use Cases
Tracking down a specific map
A historian needs Civil War maps of Virginia. They ask their agent to use search_format for maps with those keywords, then use get_item to pull the exact bibliographic details for the 1861 campaign map.
Analyzing historical text
A data scientist is studying 19th-century political conventions. They use get_text_service to pull the full OCR transcript and word coordinates from a specific document segment for their NLP pipeline.
Building a visual curriculum
An educator needs World War I propaganda posters. They use list_collections to find the poster archive, then get_collection_items to retrieve the first batch of items for their lesson plan.
Getting high-res image data
An archivist needs to render a massive historical photograph. They use get_image_info to fetch the IIIF technical metadata and exact image coordinates required by their viewing software.
The Tradeoffs
Searching for a specific format with the wrong tool
Using search and hoping it only returns audio files, then manually filtering through thousands of text documents in the results.
→ Use search_format instead. It restricts the query to a specific media type upfront, so your agent only gets audio files back and saves your rate limits.
Trying to read a whole book with one call
Passing a massive book ID to get_text_service and hitting a timeout because the OCR payload is too large for a single response.
→ Here's the catch. Break it down. Use get_resource to target a specific segment or page ID first, then pass that smaller resource ID to get_text_service for the OCR extraction.
Guessing collection names
Typing Civil War into get_collection_items and getting an empty result because the exact collection slug is different.
→ Run list_collections first to see the exact slugs, then pass the correct slug to get_collection_items to pull the actual records.
When It Fits, When It Doesn't
Use this if you need direct, programmatic access to the Library of Congress digital archives. It is built for pulling primary source data, OCR text, and bibliographic metadata into your local workspace. If you just want to browse the LOC website visually, go to their web portal. This MCP is for when you need the raw data. Note that if you are doing heavy batch processing, you will need to provide your own LOC API key to avoid hitting public rate limits. Keep in mind that this only covers the digital archives. If you need physical interlibrary loan requests or physical archive navigation, this will not help you. Use it for digital research, text analysis, and historical data extraction.
Common Questions About Library of Congress MCP
How do I search for only maps using the Library of Congress MCP? +
Use the search_format tool instead of the standard search. It restricts the query to a specific media type, so you only get map results back.
Can the Library of Congress MCP extract text from old newspapers? +
Yes. The get_text_service tool pulls full-text OCR, word coordinates, and context snippets directly from digitized historical documents.
Do I need an API key to use the Library of Congress MCP? +
No, it works without one, but adding your own Library of Congress API key is highly recommended to get higher rate limits for heavy querying.
How do I get the technical metadata for a high-res image with the Library of Congress MCP? +
Call the get_image_info tool with the image identifier. It returns the IIIF technical data and coordinates you need to render or crop the image.
Can the Library of Congress MCP list all available digital collections? +
Yes, the list_collections tool returns a complete directory of all digital collections, which you can then drill into using get_collection_items.
How do I get a specific page of a newspaper using the Library of Congress MCP? +
Use the get_resource tool with the specific resource ID for that page. It fetches the discrete digitized file without downloading the entire newspaper.
What are the rate limits when using the search tool in the Library of Congress MCP? +
You get 100 requests per hour without an API key. Adding your personal Library of Congress API key during setup increases this limit. That lets you run broader historical queries without hitting throttling errors.
Can I use the get_item tool in the Library of Congress MCP with Cursor? +
Yes. This MCP works with any compatible client, including Cursor, Claude, and VS Code. Just add the configuration to your client settings. Your agent pulls detailed bibliographic data directly into your workspace.
Can I search for items specifically in a format like 'maps' or 'audio'? +
Yes! Use the search_format tool and specify the format parameter (e.g., 'maps', 'photos', 'audio') along with your query to get targeted results.
How do I get the full OCR text of a digitized document? +
You can use the get_text_service tool. Provide the document segment path and set the full_text parameter to 1 to retrieve the complete OCR transcript.
Can I list items from a specific collection like the Abraham Lincoln papers? +
Yes. Use the get_collection_items tool with the collection slug (e.g., 'abraham-lincoln-papers') to see all items contained within that specific archive.
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.