π Connect to Claude Desktop
You can use the AI Digital Library Assistant as a tool provider for Claude Desktop! This allows you to chat with Claude and have it directly access your library, search documents, and even trigger podcast generation.
Prerequisites
- Claude Desktop App installed.
- The AI Digital Library Assistant running (either locally or on Hugging Face Spaces).
Configuration
Open your Claude Desktop configuration file:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - Mac:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
Add the following configuration:
{ "mcpServers": { "ai-library": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-sse", "--url", "https://nihal2000-aidigitallibraryassistant.hf.space/sse" ] } } }Note: Replace
https://nihal2000-aidigitallibraryassistant.hf.spacewith your actual Space URL if different. If running locally, you can use the local SSE endpoint (usuallyhttp://localhost:7860/sse).Restart Claude Desktop.
What You Can Do
Once connected, you can ask Claude things like:
- "Search my library for documents."
- "Summarize the last PDF I uploaded."
- "Create a podcast script from these search results."
- "Generate tags for this document ID."