
Indiamart Mcp Server
io.github.Techmatic-sysPublished by GitHub account Techmatic-sysv1.1.0Updated Oct 24, 2026
Claude AI for IndiaMART leads - fetch, search, sync and track pipeline.
Overview
A local MCP server that connects Claude to IndiaMART's Lead Management API so an assistant can fetch, search, analyze and update buyer leads.
- What you can do
- Fetch and sync leads from IndiaMART for a date range or recent hours, and look up a single lead by ID, storing them in a local SQLite database for offline access and keyword search across product or message text. Show lead analytics such as totals and breakdowns by city, product and date, and export leads as CSV. Draft professional replies to buyers. Update pipeline stages (new, contacted, qualified, won or lost) and attach private notes to leads for follow-up.
- When to use it
- Useful for IndiaMART sellers who manage buyer leads and want to query, summarize and update their sales pipeline in natural language from Claude Desktop, Claude Code or a compatible agent platform instead of the seller dashboard.
- Requirements
- Runs locally as a Python process (Python 3.10+ with the project's requirements installed). Needs an IndiaMART Seller account with Lead Manager access, plus a CRM API key and GLID supplied through the INDIAMART_API_KEY and INDIAMART_GLID environment variables. Network access to IndiaMART's API is required.
Installation
In SourceWeft
- Open Indiamart Mcp Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit d124c39
Tools
0Version history
1- v1.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts