LC Vocabularies MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
LC Vocabularies MCP
"An experimental MCP (Model Context Protocol) server connecting Claude to the Library of Congress Linked Data APIs for LCSH, LCNAF, and LCGFT authority lookups, developed to investigate the potential of large language models in subject analysis and authority control.
This project was inspired by and built with familiarity with cataloger-mcp by KL Tang. The design decisions and enhancements in this version reflect professional cataloging expertise and knowledge of the LC Subject Headings Manual.
What This Server Does
LC Vocabularies MCP connects Claude Desktop to the Library of Congress id.loc.gov APIs, allowing you to search and retrieve LC authority data directly within your AI-assisted cataloging workflow.
Once installed, you can ask Claude things like:
"Search LCSH for headings related to urban planning"
"Find the name authority record for Margaret Atwood"
"Can the heading 'Architecture' be subdivided geographically?"
"Look up the full authority record for this URI"
The server handles all the API calls, parses the responses, and returns structured data Claude can reason about.
Related MCP server: Obsidian MCP Server
Who This Is For
Catalogers using Claude Desktop who want AI-assisted subject heading work grounded in real LC authority data
Library systems staff building or evaluating AI-assisted cataloging tools and workflows
Developers integrating LC vocabulary lookups into MCP-based systems
If you are approaching this as a developer without a cataloging background, the tool descriptions and parameter names reflect cataloging conventions that may benefit from some context — the LC Subject Headings Manual (SHM) , LC Descriptive Cataloging Manual (DCM) Sections Z1 and Z12 and LC Genre/Form Terms Manual are the authoritative references.
Tools
Tool | Description |
| Left-anchored LCSH search. Top 6 results include |
| Keyword LCSH search. Top 6 results include |
| Left-anchored LCGFT search — genre and form terms. |
| Keyword LCGFT search. |
| Personal name search (LCNAF) — individuals only. |
| Keyword personal name search. |
| Family name search (LCNAF) — dynasties, clans, noble houses, e.g. "Kennedy family". |
| Keyword family name search. |
| Corporate body search (LCNAF) — organizations, institutions, government bodies. |
| Keyword corporate name search. |
| Geographic name search (LCNAF) — place names as headings. |
| Keyword geographic name search. |
| Meeting/conference name search (LCNAF) — conferences, congresses, symposia. |
| Keyword meeting/conference name search. |
| Retrieve the scope note for any LC authority URI. |
| Retrieve the full authority record via RDF/XML, including biographical data, variant labels, LC classification numbers, and record history. |
Notes on Search Behaviour
Left-anchored search matches from the beginning of the authorized
heading string. Searching Atwood, Margaret will find that heading, but
searching Margaret Atwood will not — the authorized form inverts the
name. When a left-anchored search returns no results, use the keyword
variant of the same tool.
A recommended fallback sequence for personal names:
Search with the full authorized form including qualifiers such as dates (e.g.,
Atwood, Margaret, 1939-)Retry without middle name or dates (e.g.,
Atwood, Margaret)Use
search_personal_name_keywordon surname and forename only (e.g.,Atwood Margaret)If a match looks plausible but uncertain, retrieve the full authority record with
get_authority_recordto confirm
Geographic subdivision eligibility (maySubdivideGeographically) is
checked automatically for the top 6 LCSH results by fetching the
MADS/RDF record for each heading. This reflects membership in the
collection_SubdivideGeographically collection and determines whether
a geographic subdivision (--[Place]) may be appended to the heading
string. Always verify this field before constructing a subdivided heading.
Meeting and conference names return more reliable results when the
year is included in the query (e.g., Democratic National Convention 1972),
because authorized headings include year and location qualifiers.
Installation
Requirements
Python 3.11 or later
Claude Desktop (or another MCP-compatible host)
Install from GitHub
pip install git+https://github.com/msuicaut/lc-vocabularies-mcp.gitInstall from a local clone
git clone https://github.com/msuicaut/lc-vocabularies-mcp.git
cd lc-vocabularies-mcp
pip install -e .On Windows with Anaconda, use Anaconda Prompt and add
--break-system-packages if prompted.
Claude Desktop Configuration
After installation, add the server to your claude_desktop_config.json.
Claude Desktop uses a restricted PATH that does not include the Python
bin directory, so the full path to the command is required.
To find your exact path, run the following in Terminal (Mac) or Anaconda Prompt (Windows):
Mac:
which lc-vocabularies-mcpWindows:
where lc-vocabularies-mcp
The examples below are illustrative only — your actual path will differ depending on your Python version and installation method.
Mac (example):
{
"mcpServers": {
"lcvocab": {
"command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/lc-vocabularies-mcp"
}
}
}Windows/Anaconda (example):
{
"mcpServers": {
"lcvocab": {
"command": "C:\\Users\\username\\anaconda3\\Scripts\\lc-vocabularies-mcp.exe"
}
}
}Always replace the path with the actual output of the which or where
command on your machine.
Finding your config file:
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
After editing the config, quit Claude Desktop completely and reopen it. The lcvocab tools will be available in your next conversation.
Verifying the installation
Once Claude Desktop is open, ask: "What cataloger tools do you have available?" — you should see all sixteen tools listed.
Using with Claude Projects
If you are using this server within a Claude Project, two files in this repository are provided to help Claude apply consistent cataloging protocols automatically.
INSTRUCTIONS.md — paste into the Instructions field
Open your Claude Project, click Set project instructions, and paste
the full contents of INSTRUCTIONS.md into that
field. This tells Claude how to approach subject heading assignment,
which tools to use, and in what order — including the personal name
fallback protocol and parallel search workflow.
SKILL.md — upload to the project Files
Upload SKILL.md to your project's Files space. This is
the full reference document containing complete search protocols,
examples, and common pitfalls. The project instructions direct Claude
to consult it for detail.
The two files work together: INSTRUCTIONS.md tells Claude what to do,
and SKILL.md gives it the complete reference to consult when needed.
Troubleshooting
Tools not appearing in Claude Desktop
Confirm the package installed without errors:
pip show lc-vocabularies-mcpConfirm the command is available:
lc-vocabularies-mcp --help(should start the server, not throw an error)Check that the config file path is correct for your OS
Quit Claude Desktop fully (not just close the window) before reopening
maySubdivideGeographically returning None
This means the MADS/RDF check could not be completed for that heading —
usually a transient network issue. Try get_scope_note on the URI to
confirm the heading is reachable, then retry the search.
Left-anchored search returning no results
Use the keyword variant of the same tool. See the fallback sequence above for personal names.
Changes to server.py not taking effect
Python caches compiled bytecode in __pycache__ folders. After editing
server.py, delete any __pycache__ folders in the package directory
and restart Claude Desktop fully.
License
GPLv3. See LICENSE.
Development Note
The code in this project was developed in collaboration with Claude, Anthropic's AI assistant. The design decisions — including tool selection, search protocols, fallback sequences, and the application of LC cataloging practice to the server's behaviour — reflect the author's professional cataloging expertise. Claude handled the implementation of those decisions in Python.
Acknowledgements
This project makes use of the Library of Congress Linked Data Service (id.loc.gov). The Library of Congress provides open access to its authority files through public linked data APIs.
This project was inspired by KL Tang's cataloger-mcp. LC Vocabularies MCP is a substantial extension for potential use in professional cataloging workflows.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Location tools for Claude and other MCP clients, strongest in the US and Great Britain. Geocode whole lists with a confidence score per row, filter by distance, get road distances and drive-time areas, and plan multi-driver routes with Google Maps links. Check flood zones, crime and live warnings, find nearby places and UK registers (NHS, CQC, food hygiene), and keep shareable maps. Reads and writes Google Sheets. Free: sign in with Google.
JusPronto is case-management software for Brazilian law firms. Its remote MCP server (OAuth 2.1 with PKCE, per-permission scopes, audit log) lets Claude and ChatGPT read the firm's own cases, deadlines, agenda, recent court movements and case files with the page cited. Write actions require the lawyer's approval. Requires a JusPronto account.
Related MCP Servers
- AlicenseAqualityFmaintenanceConnects Claude Desktop to a RAGBrain knowledge base to enable semantic search, document retrieval, and namespace management. It allows users to browse collections, discover documents by topic, and access full text content through natural language.5MIT
- AlicenseNot gradedqualityDmaintenanceConnects Claude Desktop to your Obsidian vault, enabling reading, writing, searching, and organizing notes locally.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to query a local Zendesk Help Center knowledge graph for semantic search, article retrieval, content gap analysis, and editorial intelligence tasks.3-
- AlicenseAqualityDmaintenanceConnects Claude Desktop to an Obsidian vault, enabling reading, searching, capturing ideas, and managing notes through natural language.213 npmMIT