Skip to main content
Glama

Wake County Public Library

by jfposton

Wake County Public Library MCP Server

A Model Context Protocol (MCP) server that provides search capabilities for the Wake County Public Library catalog.

Features

  • Search the Wake County Public Library catalog

  • Search local Wake County catalog or all NC Cardinal libraries

  • Returns detailed information including:

    • Title

    • Author

    • Format (book, DVD, audiobook, etc.)

    • Publication year

    • Availability status

    • Direct links to catalog entries

    • Cover images

Installation

npm install npm run build

Usage

With Claude Desktop

Add this to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "wake-county-library": { "command": "node", "args": ["/absolute/path/to/mcp-wake-county-library/dist/index.js"] } } }

With Other MCP Clients

Run the server using:

npm start

Or directly:

node dist/index.js

Available Tools

search_library

Search the Wake County Public Library catalog.

Parameters:

  • query (string, required): The search term (book title, author, keyword, etc.)

  • searchSource (string, optional):

    • "local" (default) - Search only Wake County catalog

    • "all" - Search all NC Cardinal libraries

  • limit (number, optional): Maximum number of results to return (default: 10)

Example:

{ "query": "Foundation Isaac Asimov", "searchSource": "local", "limit": 5 }

Response:

Returns an array of search results with the following structure:

[ { "title": "Foundation", "author": "Asimov, Isaac", "format": "Book", "publicationYear": "2004", "availability": "Available", "url": "https://catalog.wake.gov/Union/Record/...", "coverImage": "https://..." } ]

Development

Building

npm run build

Project Structure

mcp-wake-county-library/ ├── src/ │ └── index.ts # Main server implementation ├── dist/ # Compiled JavaScript output ├── package.json ├── tsconfig.json └── README.md

How It Works

The server:

  1. Constructs search URLs for the Wake County library catalog

  2. Fetches search results using appropriate HTTP headers

  3. Parses the HTML response using Cheerio

  4. Extracts relevant book information from the results

  5. Returns structured JSON data

License

MIT

Links

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

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. Features
    1. Installation
      1. Usage
        1. With Claude Desktop
        2. With Other MCP Clients
      2. Available Tools
        1. search_library
      3. Development
        1. Building
        2. Project Structure
      4. How It Works
        1. License
          1. Links

            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/jfposton/mcp-wcpl-'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server