BnF API Server
BnF API 服务器
模型客户端协议 (MCP) 服务器用于访问法国国家图书馆 (BnF) 的 Gallica API 并生成顺序搜索报告。
特征
在 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,请安装它。
打开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 中将提供以下工具:
在 Gallica 搜索
允许您使用不同的标准(标题、作者、主题、日期、文档类型)在 BnF 的 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 工具来执行以下操作:
搜索文件:
“在 Gallica 中搜索有关维克多·雨果的书籍”
“寻找 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