Back to Home
ukicar icon

sweet-bnf

Verified Safe

by ukicar

Overview

Provides a Model Context Protocol (MCP) server to access and retrieve data from the Gallica digital library of the Bibliothèque nationale de France (BnF) via search tools and extended item-specific functions.

Installation

Run Command
npm run start:http

Environment Variables

  • PORT
  • LOG_LEVEL
  • GALLICA_BASE_URL
  • GALLICA_SRU_URL
  • HTTP_TIMEOUT
  • HTTP_RETRIES
  • DEFAULT_MAX_RECORDS
  • DEFAULT_START_RECORD
  • MCP_ICON_URL

Security Notes

The project uses Zod for robust input validation, mitigating injection risks. It relies on environment variables for sensitive configuration, avoiding hardcoded secrets. HTTP requests are handled by `undici`, a modern and secure client, with built-in retry logic and error handling. Unhandled promise rejections and uncaught exceptions are gracefully logged. CORS headers are appropriately set.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-11-30

Tags

GallicaBnFDigital LibraryMCP ServerAPI Wrapper