npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nulib/dc-api-mcp

v2.10.10

Published

Agent integration with the Northwestern University Libraries Digital Collections API

Downloads

916

Readme

dc-api-mcp

A Model Context Protocol (MCP) server that exposes Northwestern University Library's Digital Collections as tools for AI assistants. It provides tools for searching, browsing, and retrieving metadata and IIIF manifests for digitized library materials.

Available Tools

| Tool | Description | | --------------------- | ------------------------------------------------------------------ | | search | Search for works using field-based and/or natural language queries | | similarity-search | Find works visually or semantically similar to a given work | | get-work | Retrieve full metadata for a single work by ID | | view-work | View a work's IIIF manifest for display in compatible viewers | | list-collections | List available digital collections | | view-collection | Browse a specific collection's IIIF manifest | | view-search-results | Retrieve results from a previous search | | view-similar-works | Retrieve results from a previous similarity search |

Using the Remote Endpoint

The server is available as a hosted remote at:

https://api.dc.library.northwestern.edu/api/v2/mcp

No local installation is required. Configure your MCP client to connect to this URL using the streamable HTTP transport.

Claude Desktop

Add the following to your Claude Desktop configuration file.

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "dc-api": {
      "type": "http",
      "url": "https://api.dc.library.northwestern.edu/api/v2/mcp"
    }
  }
}

Claude Code

claude mcp add --transport http dc-api https://api.dc.library.northwestern.edu/api/v2/mcp

Development

Requirements

Setup

npm install

Configuration

The server reads the following environment variables:

| Variable | Default | Description | | -------------- | ------------------------------------------------- | ---------------------------------------- | | DC_API_BASE | https://api.dc.library.northwestern.edu/api/v2 | Base URL for the Digital Collections API | | DC_IIIF_BASE | https://iiif.dc.library.northwestern.edu/iiif/3 | Base URL for the IIIF server | | SECRETS_PATH | (none) | Base path for AWS Secrets Manager config |

Running locally

stdio (for Claude Desktop / Claude Code)

npm run stdio

Or via the wrapper script (activates the correct Node.js version via mise):

bin/run.sh

HTTP (Streamable HTTP transport, port 3000)

npm run http

Configuring Claude Desktop (local build)

{
  "mcpServers": {
    "dc-api": {
      "command": "/path/to/dc-api-v2/mcp/bin/run.sh"
    }
  }
}

Replace /path/to/dc-api-v2/mcp with the absolute path to this directory. Restart Claude Desktop after editing.

Tests

| Command | Result | | ------------------- | ------------------------------------------------------------ | | npm run test | Run the test suite | | npm test:watch | Run the test suite, watching for changes | | npm test:coverage | Run the test suite and calculate coverage | | npm test:record | Run the test suite against live data and record new fixtures |

  • By default, the test suite uses pre-recorded HTTP fixtures. Set MSW_MODE=live to run against live data.
  • npm test:record records new fixtures (requires mitmproxy: pip install mitmproxy).