meilisearch-mcp: Instructions file for Claude Code

CLAUDE.md

meilisearch-mcp CLAUDE.md is an instructions file for Claude Code from meilisearch/meilisearch-mcp. It costs 2,670 tokens per session, scanned A, original, MIT.

A repository instruction file for Claude Code, an AI coding assistant. It defines the required workflow for starting tasks and keeping changes focused.

In plain words
What is it for?
Use it to require fresh branches from the latest main branch, clean working trees, task-specific code changes, and focused tests or documentation.
Why use it?
It helps prevent agents from building on stale branches, carrying unrelated edits, or making unnecessary refactors.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is meilisearch/meilisearch-mcp's own configuration. It tells Claude Code how to work on meilisearch-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything meilisearch-mcp configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to meilisearch/meilisearch-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/meilisearch/meilisearch-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/meilisearch/meilisearch-mcp

Made for: Claude Code.

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 meilisearch-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/meilisearch/meilisearch-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/meilisearch/meilisearch-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/meilisearch/meilisearch-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/meilisearch/meilisearch-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80ร—15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80ร—15 button for meilisearch-mcp CLAUDE.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/meilisearch/meilisearch-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/meilisearch/meilisearch-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,670 This file is loaded in full into every session.
When invoked 2,670 The same file โ€” it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file โ€” not that it is safe.
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.1 $0.02670 $0.02670
Opus 5.5 $0.01068 $0.01068
Sonnet 5.5 $0.00534 $0.00534
Haiku 4.5 $0.00267 $0.00267

Measured 2mo ago against content hash e108da6b99a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

meilisearch-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 2mo 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 ยท 295 lines

How it starts

The opening of the file, as written. The whole thing โ€” 295 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.

๐Ÿšจ IMPORTANT: Development Workflow Guidelines

ALL coding agents MUST follow these mandatory guidelines for every task.

๐Ÿ”„ Fresh Start Protocol

BEFORE starting ANY new task or issue:

  1. Always start from latest main:

    git checkout main
    git pull origin main  # Ensure you have the latest changes
    git checkout -b feature/your-branch-name  # Create new branch
    
  2. Verify clean state:

    git status  # Should show clean working directory
    
  3. Never carry over unrelated changes from previous work

  4. Each task gets its own focused branch from latest main

๐ŸŽฏ Focused Development Rules

ONLY make changes directly related to the specific task/issue:

  • โœ… DO: Add/modify code that solves the specific issue
  • โœ… DO: Add focused tests for the specific functionality
  • โœ… DO: Update documentation if specifically required
  • โŒ DON'T: Include formatting changes to unrelated files
  • โŒ DON'T: Add comprehensive test suites unless specifically requested
  • โŒ DON'T: Refactor unrelated code
  • โŒ DON'T: Include previous work from other branches

๐Ÿ“‹ Task Assessment Phase

Before writing any code, determine scope:

  1. Read the issue/task carefully - understand exact requirements
  2. Identify minimal changes needed - what files need modification?
  3. Plan focused tests - only for the specific functionality being added
  4. Avoid scope creep - resist urge to "improve" unrelated code

๐Ÿงช Test-Driven Development (TDD) Approach

When tests are required for the specific task:

# 1. Write failing tests FIRST (focused on the issue)
python -m pytest tests/test_specific_issue.py -v  # Should fail

# 2. Write minimal code to make tests pass
# Edit ONLY files needed for the specific issue

# 3. Run tests to verify they pass
python -m pytest tests/test_specific_issue.py -v  # Should pass

# 4. Refactor if needed, but stay focused

Read the full file on GitHub ยท 295 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. 2mo ago First seen ยท 295 lines ยท 2,670 tokens per session scan A e108da6b99a6

Subscribe to this mod's changes

meilisearch-mcp CLAUDE.md is an instructions file published in the GitHub repository meilisearch/meilisearch-mcp (198 stars, last pushed 9d ago), licensed MIT. It adds 2,670 tokens to every session, about $0.0107 per session on Opus 5.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-30.

Related

meilisearch-mcp CLAUDE.md compared with instructions from other repositories

meilisearch-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
meilisearch-mcp CLAUDE.mdmeilisearch/meilisearch-mcpInstructions file1989d agoMITA2,670Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode