Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Gallica

БесплатноНе проверен

Enables searching and accessing OCR text from millions of digitized documents in Gallica, the digital library of the Bibliothèque nationale de France, through M

GitHubEmbed

Описание

Enables searching and accessing OCR text from millions of digitized documents in Gallica, the digital library of the Bibliothèque nationale de France, through MCP tools for text search, snippet retrieval, and full-text download.

README

MCP server for Gallica, the digital library of the Bibliothèque nationale de France (BnF). Search and access OCR text from millions of digitized documents:

  • search_gallica: Text search with boolean operators (AND, OR, NOT), exact phrase matching with quotes, and parentheses for grouping. Returns paginated results (50 docs/page) with metadata.
  • get_snippets: Retrieves text excerpts showing where search terms appear within a specific document. Includes page numbers for each snippet.
  • advanced_search_gallica: Search with filters for creators (authors), document types, date ranges, language, and title. All filter parameters are optional.
  • download_text: Downloads complete OCR text from any document using its ARK identifier. Caches results locally for fast repeated access.

The search functions convert your inputs into CQL (Contextual Query Language) queries that are sent to Gallica's SRU API.

Installation

Install the code

uv sync

Install to MCP CLIs

Installs to Claude Code, Codex CLI, and Gemini CLI:

# Basic installation (search_gallica + download_text tools only)
uv run gallica-mcp-install

# With advanced search enabled (adds advanced_search_gallica tool)
uv run gallica-mcp-install --enable-advanced-search

Verify the installation:

claude mcp list   # For Claude Code
codex mcp list    # For Codex CLI
gemini mcp list   # For Gemini CLI

Usage

Run the server directly:

uv run gallica-mcp

Test with MCP Inspector:

uv run fastmcp dev src/gallica_mcp/server.py

from github.com/nestordemeure/gallica-mcp

Установка Gallica

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/nestordemeure/gallica-mcp

FAQ

Gallica MCP бесплатный?

Да, Gallica MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Gallica?

Нет, Gallica работает без API-ключей и переменных окружения.

Gallica — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Gallica в Claude Desktop, Claude Code или Cursor?

Открой Gallica на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Gallica with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development