loc-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOC_MIN_REQUEST_INTERVAL | No | Override the minimum request interval in seconds (default 4). Only change with reason. | 4 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_locA | Search the Library of Congress full text. Covers every collection at once: newspapers 1736-1963 in more than a dozen languages, plus digitised books and manuscripts. Bare words are ANDed and "quoted phrases" match exactly. There is no boolean OR and no NOT - those words, a leading minus, parentheses and | are all silently stripped - so each variant of a term needs its own search. Results resolve to individual pages. Each carries a |
| snippets_locA | Show a query in context on one page. The cheap way to judge a search result without downloading it: returns the matched terms in {braces} with the surrounding sentences, and a citation URL. Works for any page-level reference, but not for a whole item. |
| get_loc_textA | Download a page's OCR text, returning the path to the cached file. Use when snippets are not enough and the whole page has to be read or grepped. Hyphenation broken across line ends is rejoined, so the cached text greps the way the search index matched. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nestordemeure/loc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server