simap-mcp CLAUDE.md

simap-mcp CLAUDE.md is an instructions file for coding agents from Digilac/simap-mcp. It costs 1,733 tokens per session, scanned A, original, MIT.

Repository instructions for simap-mcp, a Model Context Protocol server connected to Switzerland’s public procurement platform, simap.ch. It documents the project, commands, files, and source layout.

In plain words
What is it for?
Use it when building, testing, formatting, linting, type-checking, or understanding the structure of simap-mcp.
Why use it?
It gives an AI coding agent the project context and expected commands before it changes the code.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/digilac/simap-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/Digilac/simap-mcp

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for simap-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/digilac/simap-mcp/claude-md.svg)](https://agentmods.dev/instructions/digilac/simap-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/digilac/simap-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/digilac/simap-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,733 This file is loaded in full into every session.
When invoked 1,733 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01733 $0.01733
Opus 5 $0.00866 $0.00866
Sonnet 5 $0.00347 $0.00347
Haiku 4.5 $0.00173 $0.00173

Measured 4d ago against content hash 7aff88841488, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

simap-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

MCP (Model Context Protocol) server that integrates with simap.ch, Switzerland's public procurement platform. Exposes 14 tools for searching and retrieving tender information, nomenclature codes (CPV/BKP/NPK/OAG), and organization data.

Documentation

File Purpose
README.md User documentation, installation, usage
ARCHITECTURE.md Architecture, key patterns, endpoint map
CHANGELOG.md Generated from .changeset/*.md by @changesets/changelog-github
SECURITY.md Threat model, deployment guidance, debug mode
CONTRIBUTING.md Contribution guidelines

Commands

npm run build        # Compile TypeScript (tsc)
npm start            # Run the server
npm run dev          # Build and run in one step
npm run lint         # Check code style
npm run format       # Format with Prettier
npm run format:check # Check formatting (used in CI)
npm run typecheck    # tsc --noEmit
npm test             # Run tests with vitest
npm run test:watch   # Run tests in watch mode

Source Layout

src/
├── index.ts                          # Entry point
├── server.ts                         # MCP server config + stdio transport
├── api/
│   ├── index.ts                      # Re-exports
│   ├── client.ts                     # SimapClient + exported buildUrl()
│   ├── endpoints.ts                  # API endpoint constants
│   └── rate-limiter.ts               # SlidingWindowRateLimiter (FIFO)
├── tools/
│   ├── index.ts                      # registerTools()
│   ├── search-tenders.ts             # search_tenders
│   ├── search-tenders-params.ts      # SEARCH_TENDERS_PARAM_MAP + buildTenderSearchQuery()
│   ├── get-tender-details.ts         # get_tender_details
│   ├── codes/
│   │   ├── index.ts
│   │   ├── list-cantons.ts           # list_cantons
│   │   ├── search-{cpv,bkp,npk,oag}-codes.ts
│   │   └── browse-{cpv,bkp,npk,oag}-tree.ts
│   └── organizations/
│       ├── index.ts
│       ├── list-institutions.ts
│       ├── search-proc-offices.ts
│       └── get-publication-history.ts
├── types/
│   ├── index.ts                      # Re-exports
│   ├── api.ts                        # API response types (SimapApiError, ...)
│   ├── common.ts                     # Translation, Language, Pagination
│   ├── tools.ts                      # Parameter enums
│   └── schemas.ts                    # Shared Zod primitives
└── utils/
    ├── index.ts                      # Re-exports
    ├── errors.ts                     # toToolErrorResult()
    ├── translation.ts                # getTranslation() with fallback chain
    └── formatting.ts                 # Markdown formatting

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 116 lines · 1,733 tokens per session scan A 7aff88841488

Subscribe to this mod's changes

simap-mcp CLAUDE.md is an instructions file published in the GitHub repository Digilac/simap-mcp (8 stars, last pushed today), licensed MIT. It adds 1,733 tokens to every session, about $0.0087 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

claude-prompts-mcp CLAUDE.md

Claude Code instructions for minipuft/claude-prompts-mcp, covering claude prompts mcp -- operator handbook, core principles, node.js support boundaries, validation gates (one contract, impact-aware subsets) and fleet standards upstream (minipuft/repository-standards).

minipuft/claude-prompts-mcp · 7,825 tokens

claude-prompts-mcp AGENTS.md

AGENTS.md instructions for minipuft/claude-prompts-mcp, covering agent rules · claude prompts mcp, canonical ownership and loading, core principles, node.js support boundaries and validation gates (one contract, impact-aware subsets).

minipuft/claude-prompts-mcp · 5,680 tokens

mcp-outlook CLAUDE.md

Instructions for ftaricano/mcp-outlook, covering claude.md — agent notes, what this is, hard invariants, architecture at a glance and adding a tool.

ftaricano/mcp-outlook · 2,805 tokens

mcp-chrome-debugger-protocol AGENTS.md

Instructions for VitalyOstanin/mcp-chrome-debugger-protocol, covering repository guidelines, contributor notes, project structure & module organization, build, test, and development commands and coding style & naming conventions.

VitalyOstanin/mcp-chrome-debugger-protocol · 1,601 tokens

mcp-outlook AGENTS.md

Instructions for ftaricano/mcp-outlook: As regras operacionais deste repo são canônicas em CLAUDE.md. Leia-o antes de tocar em código.

ftaricano/mcp-outlook · 340 tokens

Omada-mcp CLAUDE.md

Instructions for gaspareduard/Omada-mcp, covering tp-link omada mcp server — ai agent instructions, repository purpose, tooling and runtime, environment variables and required.

gaspareduard/Omada-mcp · 2,696 tokens