BnF API Server
BnF API サーバー
フランス国立図書館 (BnF) の Gallica API にアクセスし、順次検索レポートを生成するモデル クライアント プロトコル (MCP) サーバー。
特徴
Gallicaで検索: Gallicaデジタルライブラリで文書、画像、地図、その他のリソースを検索します
シーケンシャルレポート: あらゆるトピックについて構造化された調査レポートを自動的に作成します
チャート統合: 生成されたレポートに関連する画像と地図を含める
フォーマットされた引用: 正しくフォーマットされた引用を含む参考文献の自動生成
Related MCP server: gallica-mcp
施設
前提条件
Python 3.8以上
Pip (Python パッケージ マネージャー)
インストール手順
リポジトリをクローンします:
git clone https://github.com/votre-nom/mcp-bnf.git cd mcp-bnf依存関係をインストールします:
pip install -r requirements.txt
Claude Desktop による構成
まだインストールしていない場合は、 Claude Desktop をインストールしてください。
Open Claude デスクトップ構成:
Claude デスクトップ設定にアクセスする
構成ファイルを開きます(通常は
%APPDATA%\Claude\claude_desktop_config.jsonにあります)。
{
"bnf": {
"command": "py",
"args": [
"c:\\chemin\\vers\\mcp-bnf\\bnf_server.py"
],
"cwd": "c:\\chemin\\vers\\mcp-bnf"
},chemin\\vers\\mcp-bnfインストール ディレクトリへの実際のパスに置き換えます。
設定ファイルを保存し、Claude Desktopを再起動します。
利用可能なMCPツール
設定が完了すると、Claude Desktop で次のツールが利用できるようになります。
ガリカで検索
さまざまな基準 (タイトル、著者、件名、日付、文書タイプ) を使用して、BnF の Gallica デジタル ライブラリ内の文書を検索できます。
連続レポートの生成
Gallica ソースを使用して、あらゆるトピックに関する包括的な調査レポートを作成します。レポートには以下が含まれます:
フォーマットされた参考文献
はじめに
歴史的背景
分析
結論
関連画像と地図(オプション)
プロジェクト構造
mcp-bnf/
│
├── bnf_server.py # Serveur MCP principal
├── requirements.txt # Dépendances du projet
│
└── bnf_api/ # Package API BnF
├── __init__.py # Exports du package
├── api.py # Client API Gallica BnF
├── search.py # Fonctions de recherche
├── config.py # Constantes et configuration
└── sequential_reporting.py # Outil de génération de rapports séquentiels使用
Claude Desktop で設定が完了したら、Claude に BnF ツールを使用して次の操作を行うように指示できます。
ドキュメントを検索:
「ガリカでヴィクトル・ユーゴーに関する本を探す」
「19世紀のパリの地図を探す」
レポートを生成する:
「フランスにおける印象派についてのレポートを作成する」
「フランス委任統治下のレバノンの歴史に関する画像付きレポートを作成します」
発達
プロジェクトに貢献するには:
リポジトリをフォークする
機能用のブランチを作成します(
git checkout -b feature/nouvelle-fonctionnalite)変更をコミットします(
git commit -am 'Ajouter une nouvelle fonctionnalité')ブランチにプッシュする (
git push origin feature/nouvelle-fonctionnalite)プルリクエストを作成する
ライセンス
このプロジェクトはオープンソースです。
This server cannot be deployed
Maintenance
Related MCP Connectors
Academic research MCP server for paper search, citation checks, graphs, and deep research.
Multi-engine scholarly research server for search, traversal, full text, and reading lists.
Auditable MCP server for PubMed, Europe PMC, ClinicalTrials.gov, and bioRxiv/medRxiv queries
The only MCP server for Arabic academic research — search, read & cite Arabic + English papers.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables access to the Gallica digital library of the Bibliothèque nationale de France (BnF) with search capabilities across titles, authors, subjects, and dates, plus retrieval of document metadata, IIIF images, and OCR text content.12-
- AlicenseAqualityBmaintenanceEnables 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.31Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables searching documents in Gallica, the digital library of the Bibliothèque nationale de France, and generating structured research reports with citations and images.-
- AlicenseBqualityCmaintenanceA Model Context Protocol server for searching and downloading academic papers from multiple free and public sources, enabling LLM-driven academic research workflows.57MIT