Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
OpenMercantil (BORME): 37 read-only tools for Spanish company search, officers, sectors and tenders
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
OPENMERCANTIL_API_KEY, OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE, OPENMERCANTIL_MAX_RESPONSE_CHARS标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"borme": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-borme"
],
"env": {
"OPENMERCANTIL_API_KEY": "your-value",
"OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE": "your-value",
"OPENMERCANTIL_MAX_RESPONSE_CHARS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add borme --env OPENMERCANTIL_API_KEY=your-value --env OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE=your-value --env OPENMERCANTIL_MAX_RESPONSE_CHARS=your-value -- npx -y @nubiia/mcp-borme运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"borme": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-borme"
],
"env": {
"OPENMERCANTIL_API_KEY": "your-value",
"OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE": "your-value",
"OPENMERCANTIL_MAX_RESPONSE_CHARS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"borme": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-borme"
],
"env": {
"OPENMERCANTIL_API_KEY": "your-value",
"OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE": "your-value",
"OPENMERCANTIL_MAX_RESPONSE_CHARS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE envOPENMERCANTIL_MAX_RESPONSE_CHARS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 nubiia-dev 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:OPENMERCANTIL_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.2)于15天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol (MCP) server for the BORME (*Boletín Oficial del Registro Mercantil*, Spain's commercial-registry bulletin), built on the public OpenMercantil API. It lets AI assistants like Claude search Spanish companies, read their registry history and officers, browse the daily bulletin, map sectors by CNAE, look at public procurement and consult the mercantile-law norms behind each registry act.
Built and maintained by [Nubiia](https://nubiia.es) — automatización e
integraciones con IA para negocios (MCP, Holded, Pipedrive y más). ¿Quieres algo así
para tu empresa? Escríbenos en [nubiia.es](https://nubiia.es).
Independent and informational. OpenMercantil is not the BOE, the BORME or the
Registro Mercantil, and its data does not replace official certificates or registry
extracts. BORME material is re-used under Ley 37/2007; the official version is on
boe.es. Tool responses keep the source attribution
(
_attributions) and the tool descriptions repeat the documentary, not-legal-advice caveats.
The OpenMercantil API is public: this server works out of the box on its anonymous free tier (60 requests/minute and 200 requests/day per IP). An optional API key (OPENMERCANTIL_API_KEY, omk_..., from openmercantil.es) selects your account's larger quota:
| Plan | Per minute | Per day |
|---|---|---|
| Free (anonymous, per IP) | 60 | 200 |
| Profesional (API key) | 120 | 5,000 |
| MAX (API key) | 600 | 50,000 |
| Enterprise (contract) | 1,200 | 500,000+ |
Plans change — see openmercantil.es and docs/api-notes.md. With 200 requests a day, the server is built to be frugal:
events_total, events_truncated, total_acts...) so the assistant knows what it did not see and which tool pages the rest. A full company report (~60 KB) arrives as ~6 KB; a full day of the bulletin (~340 KB) as a per-province summary.OPENMERCANTIL_MAX_RESPONSE_CHARS (default 60,000) is replaced by a valid-JSON envelope that says it was cut.429 reports the plan, when to retry and how to get a larger quota. Short Retry-After values are honoured automatically; long ones (the daily quota) are reported immediately instead of blocking.37 read-only tools, all marked readOnlyHint: true — nothing in this server writes to OpenMercantil or anywhere else.
borme_search_companies, borme_get_company, borme_compare_companies, borme_get_company_events, borme_get_company_facts, borme_get_company_timeline, borme_get_company_officers, borme_get_company_relationships, borme_get_company_graph, borme_get_company_activity, borme_get_similar_companiesborme_get_company_contracts, borme_get_company_grants, borme_get_company_ted, borme_get_company_cnmv, borme_get_company_wikidata, borme_get_company_bde, borme_get_company_sourcesborme_get_daily_summaryborme_search_persons, borme_get_person, borme_get_person_graphborme_list_sector_companies, borme_get_sector_ratios, borme_get_cnae, borme_get_cnae_treeborme_list_legal_norms, borme_get_legal_norm, borme_get_legal_article, borme_get_act_mapborme_search_tenders, borme_get_tender, borme_get_tender_stats, borme_list_tender_suppliersborme_get_health, borme_get_stats, borme_get_sources_freshnessEverything that is not part of OpenMercantil's public read plane: user accounts, lists, notes, segments, API-credential and webhook management, billing, support tickets and the legal-report purchase flow (all of them write data or need a browser session). Also left out: the bulk export/* and CSV downloads, the legacy aliases, the aggregate dashboards (ccaa/stats, sectores/stats, datasets/public, integrations) and the per-company risk-signal endpoints (sanctions, embargoes, AEAT debtors, score), which are not part of the allowlisted credential scopes of the public API.
npm install -g @nubiia/mcp-borme
git clone https://github.com/nubiia-dev/mcp-borme.git
cd mcp-borme npm install npm run build
| Variable | Required | Description |
|---|---|---|
OPENMERCANTIL_API_KEY | No | OpenMercantil API key (omk_...). Secret — never commit it. Without it the anonymous free tier is used. Sent in the X-API-Key header, never in a URL, and redacted from error messages. |
OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE | No | Local cap on requests per minute across all tools. Default 60 (the anonymous limit); raise it with a paid plan. |
OPENMERCANTIL_MAX_RESPONSE_CHARS | No | Maximum size of one tool response. Default 60000; larger results are cut with a notice. |
OPENMERCANTIL_BASE_URL | No | Override the API host (mirrors, local mocks). https only, except http://localhost. |
export OPENMERCANTIL_API_KEY=omk_your_key # optional
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": { "borme": { "command": "npx", "args": ["-y", "@nubiia/mcp-borme@latest"], "env": { "OPENMERCANTIL_API_KEY": "omk_your_key" } } } }
Without a key, drop the env block entirely. Or if installed from source:
{
"mcpServers": { "borme": { "command": "node", "args": ["/path/to/mcp-borme/dist/index.js"] } } }
# anonymous free tier
claude mcp add borme -- npx -y @nubiia/mcp-borme@latest
claude mcp add borme --env OPENMERCANTIL_API_KEY=omk_your_key -- npx -y @nubiia/mcp-borme@latest
npx @nubiia/mcp-borme resolves the local package.json instead of the published package, and the mcp-borme binary is not on the PATH. Pin the registry version with @latest (as in the examples above), or launch the client from another directory.borme_get_health (latest_borme_processed, status) to see how fresh it is.The recommended flow: `borme_search_companies` → `borme_get_company` → detail tools. Company tools take the slug returned by the search (e.g. telefonica-de-espana-sa).
borme_search_companies · read-onlySearch by name prefix, alias or exact CIF. Returns slug, CIF, province, CNAE, share capital (cents), first/last BORME appearance and number of acts. DNI/NIE never match.
{ "q": "Telefónica de España", "limit": 5 }
borme_get_company · read-onlyThe full BORME report: identity, KPIs, activity timeline, top event types, the most recent events (events_limit, default 10; the response reports events_total) and current and historical officers. Page the whole history with borme_get_company_events.
borme_get_company_events · read-onlyBORME acts of one company for a calendar year (year, default current), paginated (page, page_size ≤ 100). Check total and pages.
{ "slug": "telefonica-de-espana-sa", "year": 2025, "page_size": 20 }
borme_get_company_facts, borme_get_company_timeline, borme_get_company_officers, borme_get_company_relationships, borme_get_company_graph, borme_get_company_activity, borme_get_similar_companies, borme_compare_companiesStructured facts per act type, a unified registry + procurement timeline, officers, documentary relationships (filter by type / confidence), group graph, monthly activity series, peers in the same province and CNAE division, and a two-company comparison. All documentary: a mention is not proof of current status.
borme_get_company_contracts, _grants, _ted, _cnmv, _wikidata, _bde, _sourcesPublic procurement (PLACSP), subsidies (BDNS), EU tenders (TED), stock-market listing (CNMV), Wikidata identifiers, Banco de España sector ratios and the coverage map of those sources. An empty result is not proof of absence.
borme_get_daily_summary · read-onlyWhat the BORME published on a date, by section and province. Because a day can hold thousands of acts, the response gives exact counts plus the first limit acts per province (default 10). Narrow with province / section ("1" registered acts, "2" announcements). No bulletin is published on Sundays or holidays (404).
{ "date": "2026-07-07", "province": "Madrid", "limit": 20 }
borme_search_persons, borme_get_person, borme_get_person_graphPersons appear only as documentary name mentions (usually officers). Homonyms share a slug, identity is never resolved, and no DNI, address or contact data is exposed.
borme_list_sector_companies, borme_get_sector_ratios, borme_get_cnae, borme_get_cnae_treeCompanies of a CNAE sector (optionally by province), Banco de España aggregate ratios per two-digit division, code metadata and the code hierarchy.
borme_list_legal_norms, borme_get_legal_norm, borme_get_legal_article, borme_get_act_mapThe consolidated mercantile-law norms (BOE texts) and the bridge from each BORME act type to the law that governs it. Informational only, not legal advice.
borme_search_tenders, borme_get_tender, borme_get_tender_stats, borme_list_tender_suppliersPublic procurement notices with CPV / phase / province / buyer / supplier / amount / date filters and cursor pagination. The API rejects some filter combinations (free text with structured filters, cpv with anything but dates) with a 422 that is surfaced as-is.
borme_get_health, borme_get_stats, borme_get_sources_freshnessDataset size and freshness — worth checking before asserting that something "was not published".
A local guard stops runaway agent loops before they burn the daily quota:
| Scope | Limit |
|---|---|
| All tools together | OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE (default 60/min) |
| Each tool | 30 req/min |
429/502/503/504 responses
只显示了开头部分;其余内容请在仓库中阅读