cataloger mcp server
A Model Context Protocol (MCP) server that provides access to the Library of Congress Subject Headings (LCSH) through a simple API interface.
Overview
This MCP server allows AI assistants like Claude to search the Library of Congress Subject Headings (LCSH) using the public suggest2 API. It provides a clean interface for querying LCSH data and handling the various response formats from the API.
Installation
Option 1: Install from PyPI (Recommended)
The easiest way to install the cataloger mcp server is directly from PyPI:
Option 2: Install from Source
If you prefer to install from source:
Setting up with Claude Desktop
- Install Claude Desktop if you haven't already from https://claude.ai/desktop
- Install the cataloger mcp server using one of the installation methods above
- Open Claude Desktop and navigate to Settings:
- Click on your profile picture in the bottom-left corner
- Select "Settings" from the menu
- Configure the MCP Server:
- In the Settings panel, click on "MCP Servers"
- Click "Add Server"
- Fill in the following details:
- Name:
cataloger mcp search
- Command:
cataloger-mcp-server
- Name:
- Click "Save"
- Enable the Server:
- Toggle the switch next to the cataloger mcp search server to enable it
- Claude will now have access to the LCSH search capabilities
Using the cataloger mcp server with Claude
Once the server is set up and enabled in Claude Desktop, you can ask Claude to search for Library of Congress Subject Headings. Here are some example prompts:
- "Can you search the Library of Congress Subject Headings for 'artificial intelligence'?"
- "Look up 'climate change' in LCSH and tell me the official subject headings."
- "What are the LCSH terms related to 'quantum computing'?"
Claude will use the MCP server to query the LCSH and LCNAF databases and return the results.
- "Find the name authority record for 'Smith, John Adam'."
- "Perform a keyword search in LCSH for 'environmental policy'.
Features
- MCP Tool Integration: Exposes
search_lcsh
(for subject headings, default left-anchored search),search_lcsh_keyword
(for subject headings, keyword search), andsearch_name_authority
(for personal names) tools that can be used by AI assistants. - Resource Endpoints: Provides resource endpoints at
lcsh://search/{query}
andlcnaf://search/{query}
. - Robust Error Handling: Gracefully handles API errors, connection issues, and unexpected response formats
- Multiple Response Formats: Supports both dictionary (hits) and list response formats from the LCSH API
Troubleshooting
If you encounter issues with the MCP server:
- Check Server Status: In Claude Desktop, go to Settings > MCP Servers and check if the server is enabled and running
- Restart the Server: Toggle the server off and on again
- Check Console Output: If running the server manually, check the console output for any error messages
- Verify Network Connection: Ensure your computer has an active internet connection to access the LCSH API
License
This project is licensed under the MIT License - see the LICENSE file for details.
For Developers
For more detailed documentation about the server implementation, API references, and testing information, please refer to the references.md file.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Permite que los asistentes de IA busquen en los encabezados de materia de la Biblioteca del Congreso (LCSH) a través de una interfaz API simple, lo que facilita la consulta y recuperación de encabezados de materia oficiales y términos relacionados.
- Descripción general
- Instalación
- Configuración con Claude Desktop
- Uso del servidor LCSH MCP con Claude
- Características
- Solución de problemas
- Licencia
- Para desarrolladores
Related Resources
Related MCP Servers
- -securityFlicense-qualityProvides tools for accessing the Semantic Scholar API to search papers, retrieve paper and author details, and fetch citations and references through the Model Context Protocol.Last updated -25
- AsecurityFlicenseAqualityA server that enables Claude to search and access documentation from popular libraries like LangChain, LlamaIndex, and OpenAI directly within conversations.Last updated -13
- -securityFlicense-qualityProvides semantic search capabilities over PyTorch documentation, enabling users to find relevant documentation, APIs, code examples, and error messages through Claude Code integration.Last updated -2
- AsecurityFlicenseAqualityProvides web search capabilities to Claude AI using the Anthropic API, allowing LLMs to access up-to-date information from the web with customizable domain filtering.Last updated -146