
Indiamart Mcp Server
io.github.Techmatic-sys由 GitHub 账号 Techmatic-sys 发布v1.1.0更新于 Oct 24, 2026
Claude AI for IndiaMART leads - fetch, search, sync and track pipeline.
概览
一个本地 MCP 服务器,将 Claude 连接到 IndiaMART 的线索管理 API,让助手获取、搜索、分析并更新买家线索。
- 可以做什么
- 按日期范围或最近若干小时从 IndiaMART 获取并同步线索,也可按 ID 查看单条线索,并存入本地 SQLite 数据库以便离线访问和按产品、留言关键词搜索。展示线索统计,包括总量以及按城市、产品和日期的分布,并可将线索导出为 CSV。为买家起草专业回复。更新销售流程阶段(新线索、已联系、已确认、赢单或丢单),并为线索添加私人备注以便跟进。
- 适用场景
- 适合管理买家线索的 IndiaMART 卖家,希望在 Claude Desktop、Claude Code 或兼容的智能体平台中用自然语言查询、汇总和更新销售流程,而不必登录卖家后台。
- 运行要求
- 以本地 Python 进程运行(需 Python 3.10+ 并安装项目依赖)。需要具备线索管理权限的 IndiaMART 卖家账户,以及通过 INDIAMART_API_KEY 和 INDIAMART_GLID 环境变量提供的 CRM API 密钥和 GLID。需要能访问 IndiaMART API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Indiamart Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🇮🇳 IndiaMART MCP Server
[Python 3.10+] [License MIT] [MCP Compatible] [CI] [Coverage]
A fully functional Model Context Protocol (MCP) server that connects Claude AI to IndiaMART's Lead Management API. Fetch, search, analyze, and manage your IndiaMART buyer leads using natural language.
⚡ Quick Install (60 seconds)
Then add to your Claude Desktop config and you're done. Full setup below.
✨ Features
- 10 MCP Tools — 8 read tools + 2 write tools for complete CRM
- Pull Leads — Fetch leads from IndiaMART for any date range
- Pipeline Management — Track leads through sales stages (new → won)
- Notes — Attach private notes to leads for context
- Real-time Webhook — Receive leads instantly via IndiaMART's Push API
- Local Database — All leads stored in SQLite for fast offline access
- Analytics — Get stats by city, product, and date
- Search — Find leads by keyword in product or message
- Export CSV — Export leads for spreadsheets and reporting
- Draft Replies — Generate professional buyer replies instantly
- Input Validation — Pydantic schemas prevent malformed queries
- Retry Logic — Exponential backoff on API failures
- Claude Desktop Ready — Plug-and-play config included
📋 Prerequisites
- Python 3.10+ (Download)
- IndiaMART Seller Account with Lead Manager access
- IndiaMART CRM API Key (see below)
- Claude Desktop (optional, for AI-powered lead management)
🚀 Installation
1. Clone or Download
2. Create Virtual Environment (recommended)
3. Install Dependencies
4. Configure Environment
🔑 How to Get Your IndiaMART API Key
- Log in to IndiaMART Seller Dashboard
- Go to Lead Manager → Settings (⚙️ icon)
- Navigate to CRM Integration or API Settings
- Generate or copy your CRM API Key (
glusr_crm_key) - Note your GLID (Global Login ID) from your account profile
- Paste both values into your
.envfile
Note: The API key gives access to your leads. Keep it secret!
▶️ Running the MCP Server
🖥️ Connecting to Claude Desktop
1. Locate Claude Desktop Config
2. Add the MCP Server
Replace cwd with your actual path:
- Windows:
"C:\\Users\\YourName\\indiamart-mcp-server" - macOS:
"/Users/yourname/indiamart-mcp-server" - Linux:
"/home/yourname/indiamart-mcp-server"
3. Restart Claude Desktop
Close and reopen Claude Desktop. You should see the IndiaMART tools available in the tools menu.
🤖 Connecting to Claude Code
Option 1: CLI (Recommended)
Then set your environment variables:
Option 2: Manual Config
Add to your .claude/settings.json (project-level) or ~/.claude/settings.json (global):
Replace the path with your actual absolute path to mcp_server.py.
Verify Connection
Once connected, ask Claude Code:
- "Sync my latest IndiaMART leads"
- "Show me leads from the last 24 hours"
- "What are my lead statistics?"
🦞 Connecting to OpenClaw
OpenClaw is a self-hosted AI agent platform. Your IndiaMART leads become a native skill in OpenClaw, accessible from any interface OpenClaw supports.
1. Find your OpenClaw config file
2. Add the IndiaMART skill
Open the config and add under skills.mcpServers:
See
openclaw-config-example.json5at the repo root for a ready-to-copy template.
3. Restart the OpenClaw gateway
4. Verify it loaded
Remote OpenClaw (VPS / EC2)
Run the MCP server in SSE mode on your server:
Then point your OpenClaw config to http://your-server-ip:8000.
💬 Example Prompts
🛠️ Available MCP Tools (10 Total)
Read Tools (8)
Write Tools (2 — NEW)
📁 Project Structure
🔧 Troubleshooting
"INDIAMART_API_KEY is not set"
- Make sure you've created a
.envfile (not just.env.example) - Check that the key is correct and not expired
- Verify the
.envfile is in the project root directory
Claude Desktop doesn't show IndiaMART tools
- Restart Claude Desktop completely (quit + reopen)
- Check
claude_desktop_config.jsonfor syntax errors (valid JSON?) - Verify the
cwdpath is correct andmcp_server.pyexists there - Check Claude Desktop logs for MCP connection errors
Date format errors
- Supported formats:
YYYY-MM-DD,DD-MM-YYYY,DD/MM/YYYY,DD-Mon-YYYY - Example:
2026-01-15,15-01-2026,15-Jan-2026
📄 License
MIT License. Use freely for your business.
🤝 Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Commit changes:
git commit -m "Add my feature" - Push:
git push origin feature/my-feature - Open a Pull Request
Built with ❤️ for Indian sellers on IndiaMART
来源:README.md,提交 d124c39
工具
0版本历史
1- v1.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分