- Home
- MCP servers
- Bibliotheque Nationale de France
Bibliotheque Nationale de France
- python
9
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You run a Python-based MCP server that lets you access the Gallica API from the Bibliothèque nationale de France and generate structured research reports. It provides search capabilities, auto-generated sequential reports, and integrated visuals to support your inquiries.
How to use
Start the MCP server locally and connect your MCP client to it to perform Gallica searches and generate reports. You will issue requests through your MCP client to search for documents, maps, or images in Gallica, then request sequential reports that compile sources, contextual sections, and visuals into a cohesive narrative.
How to install
Prerequisites: Python 3.8 or higher and Pip installed on your system.
Step 1: Clone the project repository and enter the directory.
git clone https://github.com/votre-nom/mcp-bnf.git
cd mcp-bnf
Step 2: Install the Python dependencies.
pip install -r requirements.txt
Step 3: Run the MCP server locally using the provided Python entry point.
py c:\chemin\vers\mcp-bnf\bnf_server.py
Additional configuration and usage notes
The server is designed to be launched as a local stdio MCP server. You can use a MCP client to invoke search functions against the Gallica API and to generate sequential reports that include bibliographies, introductions, historical context, analyses, conclusions, and optional visuals such as images and maps.
Security and environment considerations
No external configuration variables are shown as required for running the server. If you introduce environment-based configuration, place it in a secure runtime environment and do not expose credentials in command lines or code. Always limit network exposure to trusted clients when operating a local MCP server.
Troubleshooting
If the server does not start, verify that Python 3.8+ is installed, that you are running the exact path to bnf_server.py, and that the working directory is the repository root containing the bnf_server.py script and requirements.txt.
Available tools
gallica_search
Search Gallica for documents, images, maps, and other items using criteria such as title, author, subject, date, and document type.
sequential_report
Generate comprehensive, structured reports that include a formatted bibliography, introduction, historical context, analysis, conclusion, and optional visuals.
graphics_integration
Include relevant images and maps in reports to enrich the research narrative.