
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 分