Simap Mcp

io.github.Digilac由 GitHub 账号 Digilac 发布v1.6.0更新于 Nov 5, 2026

MCP server for simap.ch - Swiss public procurement platform

概览

AI 生成的概览

面向瑞士公共采购平台 simap.ch 的只读 MCP 服务器,让助手检索瑞士公开招标并查询采购分类代码。

可以做什么
  • 检索与查看招标:按文本、日期、类型、州和 CPV 代码筛选招标,查看单个招标的完整详情,并获取项目的发布历史。
  • 查询基础数据:列出瑞士各州、公共机构和采购办公室。
  • 检索与浏览分类代码:按关键词或编号查找 CPV、BKP、NPK 和 OAG 代码,并浏览其层级结构。
  • 提供 analyze_tender 提示,用于对招标做结构化的投标与否分析。
适用场景
适合需要让助手跟踪或调研瑞士公共采购的场景:查找新发布或相关的招标、核对截止日期与评标标准,或把业务对应到合适的 CPV、BKP、NPK、OAG 代码。
运行要求
以本地 stdio 进程运行,通过 npm 包 @digilac/simap-mcp 启动,通常使用 npx。除自带 Node.js 的客户端(如 Claude Desktop)外,需要 Node.js 22 或更高版本。无需账号、API 密钥或付费,但需要能访问 simap.ch 的公开 API。
安装前请注意
说明中称 simap API 为公开且只读,服务器不会修改平台数据。请求限速为每分钟 60 次,基础数据在内存中缓存 24 小时。招标内容来自第三方,采取行动前应核对原始公告。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Simap Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

simap MCP Server

[GitHub License] [NPM Version] [GitHub Actions Workflow Status] [NPM Downloads] [Ask DeepWiki]

An MCP (Model Context Protocol) server for interacting with simap.ch, Switzerland's public procurement platform.

Enables Claude and other AI assistants to search and view public tenders in Switzerland.

Developed by Digilac.

Features

ToolDescription
search_tendersSearch tenders with filters (text, dates, types, cantons, CPV)
get_tender_detailsGet full details of a specific tender
search_cpv_codesSearch CPV codes (Common Procurement Vocabulary)
browse_cpv_treeNavigate CPV code hierarchy
list_cantonsList all Swiss cantons
list_institutionsList Swiss public institutions
get_publication_historyGet publication history for a project
search_proc_officesSearch public procurement offices
search_bkp_codesSearch BKP codes (construction)
browse_bkp_treeNavigate BKP code hierarchy
search_npk_codesSearch NPK codes (standardized positions)
browse_npk_treeNavigate NPK code hierarchy
search_oag_codesSearch OAG codes (object types)
browse_oag_treeNavigate OAG code hierarchy
PromptDescription
analyze_tenderStructured bid/no-bid analysis of a tender (scope, deadlines, eligibility, award criteria, risks)

Prerequisites

  • An MCP-compatible client — Claude Desktop is the easiest if you are not a developer.
  • Node.js ≥ 22 — only for clients that do not bundle it. Claude Desktop ships with its own Node.js, so there is nothing to install. For every other client, get it from nodejs.org (pick the LTS version).
  • No simap account, no API key, no payment — the simap API is public and read-only.

Installation & Configuration

Claude Desktop (recommended)

  1. In Claude Desktop, open Settings → Developer → Edit Config. This opens the folder holding claude_desktop_config.json:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Open that file in a text editor and paste the block below. If the file already contains an mcpServers section, add only the "simap" entry inside it.

    json
    {  "mcpServers": {    "simap": {      "command": "npx",      "args": ["-y", "@digilac/simap-mcp"]    }  }}
  3. Save the file, then fully quit Claude Desktop (macOS: ⌘Q — closing the window is not enough) and reopen it.

  4. Check it worked: the simap tools now show up under the tools icon in the message box. Ask "List the Swiss cantons in simap" — Claude should answer with the 26 cantons.

The very first launch downloads the server, which takes a few seconds. If the tools do not appear, check Settings → Developer for the server status and logs.

LM Studio

LM Studio follows the same mcp.json notation. Open the Program tab in the right-hand sidebar, then Install → Edit mcp.json, and add:

json
{  "mcpServers": {    "simap": {      "command": "npx",      "args": ["-y", "@digilac/simap-mcp"]    }  }}

LM Studio does not bundle Node.js — install it from nodejs.org first. Tender search leans on the model's ability to chain tool calls, so results depend a lot on which local model you load.

Code editors & developer tools

Claude Code, Cursor, VS Code, Windsurf

They all take the same snippet — only the file and the top-level key change:

ClientWhereTop-level key
Claude Codeclaude mcp add simap -- npx -y @digilac/simap-mcpmcpServers
Cursor~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project)mcpServers
VS Code (Copilot).vscode/mcp.json, or the MCP: Open User Configuration commandservers
Windsurf~/.codeium/windsurf/mcp_config.jsonmcpServers
json
{  "mcpServers": {    "simap": {      "command": "npx",      "args": ["-y", "@digilac/simap-mcp"]    }  }}
  • Claude Code — add --scope user to enable it in every project, or --scope project to write a .mcp.json shared with your team. Claude Code does not read mcpServers from settings.json. Verify with claude mcp list.
  • VS Code uses servers as the top-level key, not mcpServers.
  • Cursor loads MCP servers only at startup — quit and reopen it fully.
Alternative: global install
bash
npm install -g @digilac/simap-mcp

Then point your client at the command directly:

json
{  "mcpServers": {    "simap": {      "command": "simap-mcp"    }  }}
Alternative: from source
bash
git clone https://github.com/Digilac/simap-mcp.gitcd simap-mcpnpm installnpm run build

Then point your client at the absolute path:

json
{  "mcpServers": {    "simap": {      "command": "node",      "args": ["/absolute/path/to/simap-mcp/dist/index.js"]    }  }}

Usage

Once configured, just ask your AI assistant in natural language. Mention "in simap" to make sure the assistant routes the request through the MCP server:

  • "Show me new tenders published today in simap"
  • "Find construction tenders in canton Vaud in simap"
  • "Give me the details of this tender in simap" (after a search)
  • "Search CPV codes for IT services in simap"

Clients that support MCP prompts also expose analyze_tender: in Claude Code, run /mcp__simap__analyze_tender <simap.ch link>; in Claude Desktop, pick it from the "+" menu and paste the tender's link.

Network behaviour

  • Rate limit: requests to simap.ch are throttled to 60 per minute; extra calls wait their turn instead of failing.
  • Caching: reference data (cantons, institutions, CPV/BKP/NPK/OAG codes) is cached in memory for 24 hours, so repeated lookups are instant and don't use up the rate limit. Tenders and organization lookups are always fetched live. The cache is cleared when the server restarts.
  • Retries: transient simap failures (HTTP 408 / 429 / 5xx, network errors) are retried up to 2 times with exponential backoff, honouring Retry-After.

Listed on

Contributing

Contributions are welcome! See CONTRIBUTING.md for development setup and commands, and ARCHITECTURE.md for architecture, internal patterns, and the full tool parameter reference.

simap API

This server uses the public API from simap.ch.

License

MIT

来源:README.md,提交 1a92c2e

工具

14

search_tenders

Search Tenders

Search public tenders on simap.ch with filters by date, canton, CPV codes, and other criteria

输入参数langsearchcantonsbkpCodescpvCodeslastItempubTypesprocessTypesprojectSubTypespublicationFrompublicationUntilissuedByOrganizations

get_tender_details

Get Tender Details

Get detailed information about a specific tender

输入参数langfullRawprojectId必填publicationId

search_cpv_codes

Search CPV Codes

Search CPV (Common Procurement Vocabulary) codes by keyword or partial code number

输入参数langquery必填

list_cantons

List Cantons

List all Swiss cantons with their codes (useful for search filters)

无需输入参数。

search_bkp_codes

Search BKP Codes

Search BKP (Swiss construction cost plan) codes by keyword or number

输入参数langquery必填

search_npk_codes

Search NPK Codes

Search NPK (standardized positions catalog) codes by keyword or number

输入参数langquery必填

search_oag_codes

Search OAG Codes

Search OAG (object type classification) codes by keyword or number

输入参数langquery必填

browse_cpv_tree

Browse CPV Tree

Browse the CPV code hierarchy (shows subcategories of a parent code)

输入参数langparentCode

browse_bkp_tree

Browse BKP Tree

Browse the BKP code hierarchy (Swiss construction cost plan)

输入参数langparentCode

browse_npk_tree

Browse NPK Tree

Browse the NPK code hierarchy (standardized positions catalog)

输入参数langparentCode

browse_oag_tree

Browse OAG Tree

Browse the OAG code hierarchy (object type classification)

输入参数langparentCode

list_institutions

List Institutions

List Swiss public institutions (Confederation, cantons, municipalities) that publish tenders

输入参数langsearch

get_publication_history

Get Publication History

Get the publication history for a project (corrections, awards, etc.)

输入参数lotIdpublicationId必填

search_proc_offices

Search Procurement Offices

Search public procurement offices by name or institution

输入参数searchinstitutionId

版本历史

5
  1. v1.6.0最新Nov 5, 2026
  2. v1.5.2Nov 4, 2026
  3. v1.5.1Oct 21, 2026
  4. v1.5.0Oct 7, 2026
  5. v1.4.1Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分