Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
OpenMercantil (BORME): 37 read-only tools for Spanish company search, officers, sectors and tenders
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE": "ใส่ค่าของคุณ",
"OPENMERCANTIL_MAX_RESPONSE_CHARS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add borme --env OPENMERCANTIL_API_KEY='ใส่ค่าของคุณ' --env OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE='ใส่ค่าของคุณ' --env OPENMERCANTIL_MAX_RESPONSE_CHARS='ใส่ค่าของคุณ' -- npx -y @nubiia/mcp-bormeเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"borme": {
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-borme"
],
"env": {
"OPENMERCANTIL_API_KEY": "ใส่ค่าของคุณ",
"OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE": "ใส่ค่าของคุณ",
"OPENMERCANTIL_MAX_RESPONSE_CHARS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"borme": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nubiia/mcp-borme"
],
"env": {
"OPENMERCANTIL_API_KEY": "ใส่ค่าของคุณ",
"OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE": "ใส่ค่าของคุณ",
"OPENMERCANTIL_MAX_RESPONSE_CHARS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
OPENMERCANTIL_MAX_REQUESTS_PER_MINUTE envOPENMERCANTIL_MAX_RESPONSE_CHARS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub nubiia-dev ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: OPENMERCANTIL_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.2) เข้า registry 15 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo