Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search the BnF open catalogue: authors, works, editions and links to what is digitised.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
BNF_USER_AGENT, BNF_MIN_INTERVAL_MS, BNF_TIMEOUT_MS, BNF_MAX_RETRIES, BNF_CACHE_TTL_MS, BNF_LOG_LEVEL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
claude mcp add databnf --env BNF_USER_AGENT=your-value --env BNF_MIN_INTERVAL_MS=your-value --env BNF_TIMEOUT_MS=your-value --env BNF_MAX_RETRIES=your-value --env BNF_CACHE_TTL_MS=your-value --env BNF_LOG_LEVEL=your-value -- npx -y mcp-databnf运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"databnf": {
"command": "npx",
"args": [
"-y",
"mcp-databnf"
],
"env": {
"BNF_USER_AGENT": "your-value",
"BNF_MIN_INTERVAL_MS": "your-value",
"BNF_TIMEOUT_MS": "your-value",
"BNF_MAX_RETRIES": "your-value",
"BNF_CACHE_TTL_MS": "your-value",
"BNF_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"databnf": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-databnf"
],
"env": {
"BNF_USER_AGENT": "your-value",
"BNF_MIN_INTERVAL_MS": "your-value",
"BNF_TIMEOUT_MS": "your-value",
"BNF_MAX_RETRIES": "your-value",
"BNF_CACHE_TTL_MS": "your-value",
"BNF_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
BNF_USER_AGENT envBNF_MIN_INTERVAL_MS envBNF_TIMEOUT_MS envBNF_MAX_RETRIES envBNF_CACHE_TTL_MS envBNF_LOG_LEVEL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 smeet666 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.2.0)于8天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, MCPB。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
data.bnf.fr is the open data service of the Bibliothèque nationale de France. It publishes the authority records the national library maintains: the people it catalogues, with their dates, their places, their languages and their fields of activity; the works they wrote, with the editions each work was published in; and the links to the copies digitised in Gallica. A record states whether the library considers it established or still provisional.
This server connects a chat client to that service. You can search for an author or a work by name, read a record in full, list what an author wrote, list the editions of a work, and find the digitised copies attached to either. It needs no API key and no account.
_Version française_
One-click install
Claude Code
claude mcp add databnf -- npx -y mcp-databnf
Claude Desktop, Cursor, and any client using the standard config format
{
"mcpServers": { "databnf": { "command": "npx", "args": ["-y", "mcp-databnf"] } } }
Node 24 or later is required, and no environment variable has to be set.
{
"mcpServers": { "databnf": { "command": "docker", "args": ["run", "-i", "--rm", "ghcr.io/smeet666/mcp-databnf:2.2.0"] } } }
-i keeps stdin open, which is where the protocol travels, and -t is left out because a TTY rewrites the stream. The container needs outbound HTTPS to data.bnf.fr, and nothing else: no volume, no port, no credential.
Download mcp-databnf-2.2.0.mcpb from the latest release and open it. A client that supports MCP bundles installs it on its own, with no npm and no configuration file to edit. The bundle carries its dependencies, so nothing is fetched at install time.
The ordinary path runs from a search to a record: a row carries an id, and get_author or get_work reads it.
| Tool | What it does |
|---|---|
search_authors | Finds people by name in the authority records. |
get_author | Reads one person's record in full. |
search_works | Finds works by title. |
get_work | Reads one work's record in full. |
list_works | Lists the works one person is credited with. |
list_editions | Lists the editions of one work. |
find_digitised | Finds the copies digitised in Gallica for a person or a work. |
search_authorsFinds people by name in the authority records.
| Argument | Type | Required | What it does |
|---|---|---|---|
name | string, 1 to 200 characters | yes | The name to look for. |
limit | integer, 1 to 50, default 10 | no | Rows to serve. |
page | integer, 1 to 100, default 1 | no | Which page of rows. |
In return: authors, each carrying id, which get_author, list_works and find_digitised take; name as the service writes it; label, the authority heading, usually with the dates; birth_year and death_year, null where the record states none; role; and source_url. words_searched says what was actually sent, has_more whether further pages exist, and index_window_full that the index served everything it will serve for this search.
get_authorReads one person's record in full.
| Argument | Type | Required | What it does |
|---|---|---|---|
author_id | string, 1 to 200 characters | yes | The identifier a row carries. |
include_depictions | boolean, default false | no | Add the portraits the record points to. |
In return: the person with name, label, given_name, family_name, other_names, birth_date and death_date as published, birth_year and death_year as numbers, birth_place, death_place, biographical_information, occupation, languages as ISO 639-2 codes, countries and fields in the words of the record. A field the record leaves empty is null.
search_worksFinds works by title.
| Argument | Type | Required | What it does |
|---|---|---|---|
title | string, 1 to 200 characters | yes | The words of the title to look for. |
limit | integer, 1 to 50, default 10 | no | Rows to serve. |
page | integer, 1 to 100, default 1 | no | Which page of rows. |
In return: works, each carrying id, which get_work, list_editions and find_digitised take; title; date, the year the record gives the work, as published; creators; status, reading established or provisional; and source_url. The envelope carries the same words_searched, has_more and index_window_full a search of people returns.
get_workReads one work's record in full.
| Argument | Type | Required | What it does |
|---|---|---|---|
work_id | string, 1 to 200 characters | yes | The identifier a row carries. |
include_depictions | boolean, default false | no | Add the illustrations the record points to. |
In return: the work with title, label, date as published, first_year, creators as { id, name }, languages, forms, subjects and dewey_classes in the words of the record, expression_count, same_as for the registers the BnF aligns it with, and catalogue_url. status reads established or provisional, and status_statement says what the library means by it: a provisional record is one the library has not finished checking.
list_worksLists the works one person is credited with.
| Argument | Type | Required | What it does |
|---|---|---|---|
author_id | string, 1 to 200 characters | yes | The person's identifier. |
limit | integer, 1 to 50, default 10 | no | Rows to serve. |
page | integer, 1 to 100, default 1 | no | Which page of rows. |
In return: works, each carrying id, title, date as published, year as a number where the record has one, forms, status and source_url, with has_more to continue.
list_editionsLists the editions of one work.
| Argument | Type | Required | What it does |
|---|---|---|---|
work_id | string, 1 to 200 characters | yes | The work's identifier. |
limit | integer, 1 to 50, default 10 | no | Rows to serve. |
page | integer, 1 to 100, default 1 | no | Which page of rows. |
In return: editions, each carrying its own id in the BnF catalogue, the title this edition bears, date and year, publisher, place, edition_statement, extent, isbn, note as the cataloguer wrote it, catalogue_url, digitised and source_url. A field the record leaves empty is null.
find_digitisedFinds the copies digitised in Gallica attached to a person or a work.
| Argument | Type | Required | What it does |
|---|---|---|---|
id | string, 1 to 200 characters | yes | The identifier of a person or of a work. |
kind | auto, person or work, default auto | no | What the identifier stands for. |
limit | integer, 1 to 200, default 40 | no | Links to serve. |
In return: kind, saying what the catalogue types the record as, and links, each carrying the Gallica ark, its url, its rendering and the role the person holds on it. links_returned_by_role counts them per role. This server describes a digitised document and never opens one.
A record carries a status. established means the library has checked it; provisional means it has not finished, and status_statement says so in the library's own words. Report the status alongside anything taken from a provisional record.
The BnF states one condition on these metadata:
L'utilisation de ces métadonnées est libre et gratuite sous réserve du maintien
de la mention de leur source et de l'indication de leur date de récupération.
Use is free of charge, provided the source is named and the date of retrieval is stated. Every answer carries retrieved_at in its payload and ends its text with the source and that date. A cached answer reports the moment it was originally read, since that is when it was retrieved. Repeat both wherever what you got is shown.
Every variable is optional. Set them in the env block of your client config.
| Variable | Default | What it d
只显示了开头部分;其余内容请在仓库中阅读