Indiamart-mcp-server: Instructions file for Claude Code

CLAUDE.md

Indiamart-mcp-server CLAUDE.md is an instructions file for Claude Code from Techmatic-sys/Indiamart-mcp-server. It costs 465 tokens per session, scanned A, original, MIT.

Project instructions for an IndiaMART lead-management server. IndiaMART is a business marketplace, and its lead-management API handles buyer enquiries for sellers.

In plain words
What is it for?
Use them when installing, configuring, running, checking, testing, or modifying the IndiaMART MCP server.
Why use it?
They explain the project's structure, setup, credentials, commands, testing, and coding conventions in one place.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is Techmatic-sys/Indiamart-mcp-server's own configuration. It tells Claude Code how to work on Indiamart-mcp-server 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 Indiamart-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Techmatic-sys/Indiamart-mcp-server. 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/Techmatic-sys/Indiamart-mcp-server/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Techmatic-sys/Indiamart-mcp-server

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/techmatic-sys/indiamart-mcp-server/claude-md/github.svg)](https://agentmods.dev/instructions/techmatic-sys/indiamart-mcp-server/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/techmatic-sys/indiamart-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/techmatic-sys/indiamart-mcp-server/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 Indiamart-mcp-server CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/techmatic-sys/indiamart-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/techmatic-sys/indiamart-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 465 This file is loaded in full into every session.
When invoked 465 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.00465 $0.00465
Opus 5.5 $0.00186 $0.00186
Sonnet 5.5 $0.00093 $0.00093
Haiku 4.5 $0.00047 $0.00047

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

Security

Grade A, and why

Indiamart-mcp-server 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 · 55 lines

What it actually says

IndiaMART MCP Server

MCP server that connects Claude to IndiaMART's Lead Management API, enabling sellers to manage buyer leads via natural language.

Architecture

mcp_server.py          <- Single entry point (FastMCP, CLI args)
  └── mcp_tools/
      ├── tools.py     <- 10 MCP tool implementations (register_all_tools)
      ├── schemas.py   <- Pydantic input validation
      ├── http_client.py <- IndiaMART API client with retry/backoff
      ├── database.py  <- SQLite async operations (aiosqlite)
      └── auth.py      <- API key helpers (single source of truth)

Setup

pip install -r requirements.txt
cp .env.example .env
# Edit .env with your INDIAMART_API_KEY and INDIAMART_GLID

Running

python mcp_server.py                    # stdio (default, for Claude Desktop/Code)
python mcp_server.py --transport sse    # HTTP SSE mode
python mcp_server.py --health           # Check DB connectivity
python mcp_server.py --version          # Show version

Testing

pytest tests/ -v
ruff check .

Key Conventions

  • All tools registered via register_all_tools(mcp) in tools.py
  • Input validation: Pydantic models in schemas.py
  • Response formatting: tool_error() and tool_success() helpers in http_client.py
  • Date formats accepted: YYYY-MM-DD, DD-MM-YYYY, DD/MM/YYYY, DD-Mon-YYYY
  • Pipeline stages: new, contacted, qualified, proposal, negotiation, won, lost
  • Database: SQLite via aiosqlite, lazy-initialized on first tool call
  • API key: loaded from env via auth.py, used by http_client.py

Out of Scope

  • saas/ — Separate FastAPI SaaS web platform (multi-tenant, PostgreSQL, Redis). Not part of the MCP server.
  • webhook.py — Standalone FastAPI webhook receiver. Not part of the MCP server.
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 · 55 lines · 465 tokens per session scan A 0d00c1ed03e4

Subscribe to this mod's changes

Indiamart-mcp-server CLAUDE.md is an instructions file published in the GitHub repository Techmatic-sys/Indiamart-mcp-server (2 stars, last pushed 7mo ago), licensed MIT. It adds 465 tokens to every session, about $0.0019 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-31.

Related

Indiamart-mcp-server CLAUDE.md compared with instructions from other repositories

Indiamart-mcp-server CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Indiamart-mcp-server CLAUDE.mdTechmatic-sys/Indiamart-mcp-serverInstructions file27mo agoMITA465Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA8,130Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,153GitHub Copilot
generative-ai-for-beginners AGENTS.mdmicrosoft/generative-ai-for-beginnersInstructions file124ktodayMITA2,981Codex, OpenCode