Skip to main content
Glama
ecmulli

Aspen Catalog MCP

by ecmulli

aspen-catalog-mcp

An MCP (Model Context Protocol) server for searching Aspen Discovery library catalogs. Use it with Claude, or any MCP-compatible AI client, to check if your local library carries a book before recommending it.

What it does

  • search_catalog — Search the library catalog by keyword, title, author, subject, or ISBN

  • check_availability — Check a list of book titles against the catalog, so AI recommendations can be filtered to books your library actually has

Related MCP server: book-recommender

Setup

1. Get API access from your library

Aspen Discovery supports two access methods:

  • IP allow-listing (recommended) — Ask your library to add your server's IP to the Aspen Discovery API allow-list. No credentials needed.

  • API token pair — Some libraries may issue API key pairs used by the Aspen LiDA mobile app.

Your library also needs to allow your IP through any CDN/firewall (e.g. Cloudflare) in front of the catalog.

2. Install

npm install -g aspen-catalog-mcp

Or clone and build from source:

git clone https://github.com/ecmulli/aspen-catalog-mcp.git
cd aspen-catalog-mcp
npm install
npm run build

3. Configure

Set the required environment variable:

export ASPEN_BASE_URL="https://catalog.faylib.org"  # your library's Aspen catalog URL

If using token auth, also set:

export ASPEN_API_KEY1="your-key-1"
export ASPEN_API_KEY2="your-key-2"

4. Add to Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "library-catalog": {
      "command": "npx",
      "args": ["-y", "aspen-catalog-mcp"],
      "env": {
        "ASPEN_BASE_URL": "https://catalog.faylib.org"
      }
    }
  }
}

Or if running from source:

{
  "mcpServers": {
    "library-catalog": {
      "command": "node",
      "args": ["/path/to/aspen-catalog-mcp/dist/index.js"],
      "env": {
        "ASPEN_BASE_URL": "https://catalog.faylib.org"
      }
    }
  }
}

Finding your library's Aspen catalog URL

Many public libraries use Aspen Discovery. The catalog URL is typically:

  • https://catalog.yourlibrary.org

  • https://yourlibrary.aspendiscovery.org

You can check if your library uses Aspen Discovery by looking for "Powered by Aspen Discovery" in the footer of their online catalog.

How it works

This server talks to the Aspen Discovery SearchAPI, specifically the searchLite method, which returns catalog records matching a search query.

License

MIT

Available Tools

2 tools
check_availabilityA

Check if a specific book or title is available at the library. Useful for filtering book recommendations to only those the library carries.

ParametersJSON Schema
NameRequiredDescriptionDefault
titlesYesList of book titles to check availability for

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It mentions checking availability but doesn't disclose behavioral traits like response format, error handling, rate limits, or authentication needs. For a tool with no annotations, this leaves significant gaps in understanding how it behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the core purpose and followed by a useful context sentence. Every sentence earns its place, with no wasted words, making it efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is adequate but incomplete. It covers purpose and usage but lacks details on behavior and output. Without annotations or output schema, more context on what the tool returns would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents the parameter 'titles' as a list of book titles. The description adds minimal value beyond this, mentioning 'specific book or title' but not providing additional semantics like format examples or constraints. Baseline 3 is appropriate when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Check if a specific book or title is available at the library.' It specifies the verb ('check') and resource ('book or title'), and distinguishes it from the sibling tool 'search_catalog' by focusing on availability rather than broader searching. However, it doesn't explicitly contrast with the sibling, so it's not a perfect 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: 'Useful for filtering book recommendations to only those the library carries.' This implies when to use it—when you need to verify availability for recommendations. It doesn't explicitly state when not to use it or name alternatives, but the context is helpful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_catalogC

Search the library catalog for books, DVDs, audiobooks, and other materials. Returns titles, authors, formats, and availability links.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query — title, author, subject, ISBN, or keywords
maxResultsNoMaximum number of results to return
searchIndexNoWhich field to searchKeyword

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the return values ('Returns titles, authors, formats, and availability links'), which adds some context beyond the input schema. However, it doesn't describe important behavioral traits like whether this is a read-only operation (implied but not stated), rate limits, authentication needs, error handling, or pagination behavior. For a search tool with zero annotation coverage, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately concise with two sentences: one stating the purpose and scope, and another describing the return values. It's front-loaded with the core functionality. There's no wasted text, though it could be slightly more structured (e.g., separating usage guidelines).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (search with three parameters) and no annotations or output schema, the description is partially complete. It covers the purpose and return values, but lacks usage guidelines, behavioral details (e.g., rate limits), and doesn't compensate for the missing output schema by fully explaining the response format. It's adequate as a minimum but has clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, so the schema already documents all three parameters (query, maxResults, searchIndex) with descriptions, constraints, and defaults. The description doesn't add any parameter-specific information beyond what's in the schema (e.g., it doesn't explain search syntax or format details). According to the rules, with high schema coverage (>80%), the baseline is 3 even with no param info in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Search the library catalog for books, DVDs, audiobooks, and other materials.' It specifies the verb ('Search') and resource ('library catalog'), and lists the types of materials covered. However, it doesn't explicitly distinguish this from the sibling tool 'check_availability' (which might check availability of specific items rather than searching the catalog), so it doesn't reach the highest score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention the sibling tool 'check_availability' or explain how they differ (e.g., search vs. specific item lookup). There's no context about prerequisites, limitations, or when not to use it. The description only states what it does, not when to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv0.1.0
    • First observedcheck_availability
    • First observedsearch_catalog

TDQS

B3.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: check_availability verifies if a specific book/title is available, while search_catalog performs broader searches across materials. There is no overlap in functionality, making it easy for an agent to choose the right tool based on the task.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern (check_availability and search_catalog) with clear, descriptive names. The naming style is uniform throughout, using snake_case and action-oriented verbs that accurately reflect each tool's purpose.

Tool Count2/5

With only 2 tools, the server feels under-scoped for a library catalog system. While the tools cover basic search and availability checks, typical catalog operations like borrowing, reserving, or managing user accounts are missing, making the set too thin for comprehensive library interactions.

Completeness2/5

The tool surface is significantly incomplete for a library catalog domain. It lacks essential operations such as borrowing/returning items, placing holds, managing user profiles, or accessing detailed item metadata. This creates dead ends for agents trying to perform common library tasks beyond basic searching.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables searching the Wake County Public Library catalog and all NC Cardinal libraries, returning book details including title, author, format, availability status, and direct catalog links.
    1
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server that provides book recommendation tools, allowing an AI agent to search and filter books by genre, page count, and ratings using the Goodreads dataset.
    1
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that exposes tools for querying a bookstore inventory, allowing AI agents to search and retrieve book information via the Model Context Protocol.
    261 npm
    1
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server enabling AI assistants to search, browse, and discover books from Books Mandala's live catalog of 50,000+ titles.
    2
    -