IIIF Images Server

by mikeapp

Not rated
GitHub

About

A server for working with IIIF (International Image Interoperability Framework) manifests and images.

Details

Author
mikeapp
Categories
Developer Tools, Other, Media

Install from Claude Desktop Extension (DXT) file

- ](https://youtu.be/vsVKQWhAFBg)Installand log in to Claude Desktop - Download the.dxtfile from thelatest release - Double-click the.dxtfile - Install the extension when prompted by Claude - Clone this repository - Install dependencies:npm install - Make the server executable:chmod +x server/server.js

To use this MCP server with Claude Desktop, add the following configuration to your Claude Desktop config file. Adjust the file path as necessary. You may also need to provide the full path to yournodecommand.

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

{ "mcpServers": { "mcp-iiif-images": { "command": "node", "args": ["/PATH/TO/mcp-iiif-images/server/server.js"] } } }

Edit%APPDATA%\Claude\claude_desktop_config.json:

{ "mcpServers": { "mcp-iiif-images": { "command": "node", "args": ["C:\\path\\to\\mcp-iiif-images\\server\\server.js"] } } }

Edit~/.config/Claude/claude_desktop_config.json:

{ "mcpServers": { "mcp-iiif-images": { "command": "node", "args": ["/path/to/mcp-iiif-images/server/server.js"] } } }

The server supports two transport modes:

Run the server using stdio transport (default):

Run the server using HTTP streaming transport:

node server/server.js --http # or with custom port node server/server.js --http --port 8080

- --http: Use HTTP streaming transport instead of stdio
- --port PORT: Port number for HTTP server (default: 3000)
- --help: Show help message

When using HTTP mode, the server will start an HTTP server with the following endpoints:

- GET /sse: Establish Server-Sent Events connection
- POST /messages?sessionId=<id>: Send MCP messages

For HTTP streaming mode, you'll need to start the server manually with the--httpflag and then configure Claude Desktop to connect via HTTP:

node server/server.js --http --port 3000

Then configure Claude Desktop to use the HTTP transport (refer to Claude Desktop documentation for HTTP transport configuration).

Note: Update the path in theargsarray to match the actual location where you've installed this server.

After updating the configuration, restart Claude Desktop for the changes to take effect.

# Run tests once npm test # Run tests in watch mode (automatically re-runs on file changes) npm run test:watch # Run tests with coverage npm test -- --coverage

The project usesVitestas the testing framework, which provides:

- Fast execution with ES modules support
- Jest-compatible API with better error messages
- Built-in coverage reporting
- Watch mode for development

Fetches and validates a IIIF manifest from a URL.

- url(required): The URL of the IIIF manifest to fetch

Please fetch the IIIF manifest from https://example.com/manifest.json

Retrieve a IIIF image from a base URI, fetching info.json and returning the image data.

- baseUri(required): Base URI of the IIIF Image API resource (without /info.json)

Fetch the IIIF image at https://example.com/iiif/image123

Retrieve a specific region of a IIIF image using percentage coordinates, with the region scaled to fit within the same constraints. Use this to fetch regions of interest at higher detail for more accurate image description and analysis.

- baseUri(required): Base URI of the IIIF Image API resource (without /info.json)
- region(required): Region in pct: format (e.g., 'pct:20,20,50,50' for x,y,width,height as percentages)

Fetch a region from the IIIF image at https://example.com/iiif/image123 with region pct:10,10,50,50

Note that you can use these tools together in the course of a conversation, for example:

Fetch the IIIF image at https://example.com/iiif/image123 and describe it. ... Zoom in on the text at the bottom of the page and transcribe it.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Allows users to generate music videos using Freebeat through MCP

Search and read books from your Calibre ebook library.

Free file conversion between 999 routes (images, video, audio, documents, data, fonts, ebooks, archives) — no API key required.

AI-powered music industry assistant — real-time streaming, audience and booking data via 115+ MCP tools for artists, managers, A&R and booking agencies.

Convert files between various formats, including images, documents, audio, video, and more.

Feed any YouTube video, article, PDF, or image into the Loreto API and receive production-ready skill packages, complete with SKILL.md, test scripts, and reference stubs.

Extentos is a multi-vendor development platform for adding smart-glasses capabilities to existing iOS and Android apps. The simplest analogy is Stripe for smart glasses

An MCP server tailored for React Native–first development using Gluestack UI

Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.

An MCP server for generating images from HTML & CSS or screenshots of URLs using htmlcsstoimage.com.

A server for working with IIIF (International Image Interoperability Framework) manifests and images.

A Model Context Protocol (MCP) server for working with IIIF (International Image Interoperability Framework) manifests and images. Seethis videofor a demonstration.

This MCP server contains the following tools:

- fetch_iiif_manifest: Fetch a IIIF manifest from a URL. (Note that clients may have difficulty processing large amounts of JSON.)
- fetch_iiif_image: Retrieve a IIIF image from a base URI, fetching info.json and returning the image data (default: max 1500px dimension, max 800,000 pixels total)
- fetch_iiif_image_region: Retrieve a specific region of a IIIF image using percentage coordinates, with the region scaled to fit within the same constraints

- The code scales the images to dimensions acceptable to Claude. It will not work with a Level 0 Image API implementation.
- Claude may not process some IIIF Manifests due to the size of the file.

Install from Claude Desktop Extension (DXT) file

-
Installand log in to Claude Desktop - Download the.dxtfile from thelatest release - Double-click the.dxtfile - Install the extension when prompted by Claude - Clone this repository - Install dependencies:npm install - Make the server executable:chmod +x server/server.js

To use this MCP server with Claude Desktop, add the following configuration to your Claude Desktop config file. Adjust the file path as necessary. You may also need to provide the full path to yournodecommand.

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

{ "mcpServers": { "mcp-iiif-images": { "command": "node", "args": ["/PATH/TO/mcp-iiif-images/server/server.js"] } } }

Edit%APPDATA%\Claude\claude_desktop_config.json:

{ "mcpServers": { "mcp-iiif-images": { "command": "node", "args": ["C:\\path\\to\\mcp-iiif-images\\server\\server.js"] } } }

Edit~/.config/Claude/claude_desktop_config.json:

{ "mcpServers": { "mcp-iiif-images": { "command": "node", "args": ["/path/to/mcp-iiif-images/server/server.js"] } } }

The server supports two transport modes:

Run the server using stdio transport (default):

Run the server using HTTP streaming transport:

node server/server.js --http # or with custom port node server/server.js --http --port 8080

- --http: Use HTTP streaming transport instead of stdio
- --port PORT: Port number for HTTP server (default: 3000)
- --help: Show help message

When using HTTP mode, the server will start an HTTP server with the following endpoints:

- GET /sse: Establish Server-Sent Events connection
- POST /messages?sessionId=<id>: Send MCP messages

For HTTP streaming mode, you'll need to start the server manually with the--httpflag and then configure Claude Desktop to connect via HTTP:

node server/server.js --http --port 3000

Then configure Claude Desktop to use the HTTP transport (refer to Claude Desktop documentation for HTTP transport configuration).

Note: Update the path in theargsarray to match the actual location where you've installed this server.

After updating the configuration, restart Claude Desktop for the changes to take effect.

# Run tests once npm test # Run tests in watch mode (automatically re-runs on file changes) npm run test:watch # Run tests with coverage npm test -- --coverage

The project usesVitestas the testing framework, which provides:

- Fast execution with ES modules support
- Jest-compatible API with better error messages
- Built-in coverage reporting
- Watch mode for development

Fetches and validates a IIIF manifest from a URL.

- url(required): The URL of the IIIF manifest to fetch

Please fetch the IIIF manifest from https://example.com/manifest.json

Retrieve a IIIF image from a base URI, fetching info.json and returning the image data.

- baseUri(required): Base URI of the IIIF Image API resource (without /info.json)

Fetch the IIIF image at https://example.com/iiif/image123

Retrieve a specific region of a IIIF image using percentage coordinates, with the region scaled to fit within the same constraints. Use this to fetch regions of interest at higher detail for more accurate image description and analysis.

- baseUri(required): Base URI of the IIIF Image API resource (without /info.json)
- region(required): Region in pct: format (e.g., 'pct:20,20,50,50' for x,y,width,height as percentages)

Fetch a region from the IIIF image at https://example.com/iiif/image123 with region pct:10,10,50,50

Note that you can use these tools together in the course of a conversation, for example:

Fetch the IIIF image at https://example.com/iiif/image123 and describe it. ... Zoom in on the text at the bottom of the page and transcribe it.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Allows users to generate music videos using Freebeat through MCP

Search and read books from your Calibre ebook library.

Free file conversion between 999 routes (images, video, audio, documents, data, fonts, ebooks, archives) — no API key required.

AI-powered music industry assistant — real-time streaming, audience and booking data via 115+ MCP tools for artists, managers, A&R and booking agencies.

Convert files between various formats, including images, documents, audio, video, and more.

Feed any YouTube video, article, PDF, or image into the Loreto API and receive production-ready skill packages, complete with SKILL.md, test scripts, and reference stubs.

Extentos is a multi-vendor development platform for adding smart-glasses capabilities to existing iOS and Android apps. The simplest analogy is Stripe for smart glasses

An MCP server tailored for React Native–first development using Gluestack UI

Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.

An MCP server for generating images from HTML & CSS or screenshots of URLs using htmlcsstoimage.com.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.