mcp-india-tenders

mcp-india-tenders

Enables searching and analyzing Indian government tenders from multiple portals (CPPP, eProc Rajasthan, Defence) via natural language queries, returning OCDS-compliant data.

Category
访问服务器

README

MCP India Tenders Server

License: MIT TypeScript Node.js MCP

An MCP (Model Context Protocol) server for searching and analyzing Indian government tenders from multiple portals including CPPP (Central Public Procurement Portal), eProc Rajasthan, and Defence Ministry tenders.

Overview

This server provides AI assistants (Claude, Cursor, etc.) with real-time access to Indian government tender data in OCDS (Open Contracting Data Standard) format. It enables automated tender discovery, analysis, and monitoring for businesses bidding on government contracts.

Features

  • Multi-Portal Support: CPPP, eProc Rajasthan, Defence portals
  • OCDS-Compliant: Structured data following Open Contracting standard
  • Advanced Search: Filter by keyword, state, value, closing date
  • Tender Analytics: Budget, funding, bidder analysis
  • Caching: Optimized performance with intelligent caching
  • AI-Friendly: Natural language queries through MCP interface
  • Docker Ready: Easy deployment with Docker/Docker Compose

Quick Start

Installation

git clone https://github.com/switchr24/mcp-india-tenders.git
cd mcp-india-tenders
npm install
npm run build

Running the Server

Development:

npm run dev

Production:

npm start

With Docker

docker build -t mcp-india-tenders .
docker run -p 3000:3000 mcp-india-tenders

MCP Tools

search_tenders

Search for tenders across all portals with filters

Parameters:

  • keyword (required): Tender search term (e.g., "road sweeper", "waste compactor")
  • state (optional): State filter (e.g., "RAJASTHAN", "MAHARASHTRA")
  • minValue (optional): Minimum tender value in INR
  • closingWithinDays (optional): Tenders closing in N days (default: 60)
  • limit (optional): Max results (default: 20, max: 100)

Example:

{
  "keyword": "road sweeper Rajasthan",
  "minValue": 1000000,
  "closingWithinDays": 30,
  "limit": 10
}

get_tender_details

Fetch detailed OCDS-compliant tender information

Parameters:

  • tenderId (required): Tender ID or OCID
  • format (optional): 'full' or 'summary'

search_by_location

Search tenders by city/district and state

Parameters:

  • location (required): City name (e.g., "Jaipur")
  • state (required): State code (e.g., "RJ")
  • limit (optional): Max results

search_by_organisation

Find tenders by procuring ministry/department

Parameters:

  • organisation (required): Ministry/Department name
  • limit (optional): Max results

Configuration

Claude Desktop Integration

Edit ~/.config/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "india-tenders": {
      "command": "node",
      "args": ["/path/to/mcp-india-tenders/build/index.js"]
    }
  }
}

VS Code Cline Integration

Add to Cline MCP settings:

{
  "mcpServers": {
    "india-tenders": {
      "command": "node",
      "args": ["/path/to/mcp-india-tenders/build/index.js"]
    }
  }
}

Usage Examples

Example 1: Find Rajasthan Tenders

User: "Show me all waste equipment tenders in Rajasthan above 5 lakhs closing in 30 days"

MCP Call: search_tenders(
  keyword="waste equipment",
  state="RAJASTHAN",
  minValue=5000000,
  closingWithinDays=30
)

Example 2: Analyze Specific Tender

User: "Get full details and analysis for tender CPPP-12345"

MCP Call: get_tender_details(
  tenderId="CPPP-12345",
  format="full"
)

Example 3: Location-based Search

User: "Find all government tenders in Jaipur"

MCP Call: search_by_location(
  location="Jaipur",
  state="RJ",
  limit=20
)

Supported Portals

Portal URL Coverage Status
CPPP eprocure.gov.in All Central Ministries ✅ Supported
eProc Rajasthan eproc.rajasthan.gov.in Rajasthan State ✅ Supported
Defence defproc.gov.in Ministry of Defence ✅ Supported
GeM gem.gov.in Goods & Services ⚠️ Planning
State Portals Various Individual States 🔄 Expanding

Project Structure

mcp-india-tenders/
├── src/
│   ├── index.ts                 # MCP server entry
│   ├── api/
│   │   ├── eprocure-client.ts   # CPPP API client
│   │   ├── rajasthan-client.ts  # Rajasthan eProc client
│   │   └── defence-client.ts    # Defence portal client
│   ├── handlers/
│   │   ├── tools.ts             # MCP tool definitions
│   │   └── resources.ts         # MCP resources
│   ├── models/
│   │   ├── tender.ts            # OCDS schemas
│   │   └── portal.ts            # Portal config
│   └── utils/
│       ├── logger.ts            # Logging
│       └── cache.ts             # Caching layer
├── build/                       # Compiled JavaScript
├── package.json
├── tsconfig.json
├── Dockerfile
└── docker-compose.yml

Development

Building

npm run build

Testing

npm run test

Using MCP Inspector

npm run inspector

Roadmap

  • [ ] Add more state portals (Gujarat, Maharashtra, Karnataka)
  • [ ] Integration with n8n for automation
  • [ ] Tender analytics dashboard
  • [ ] Email alerts for matching tenders
  • [ ] Bid success prediction model
  • [ ] Document OCR for tender analysis
  • [ ] API Gateway for REST access

Performance Optimization

  • Caching: 5-minute cache for searches, 1-hour for details
  • Rate Limiting: Respectful scraping with delays
  • Pagination: Efficient data retrieval
  • Compression: Gzip response compression

Error Handling

The server gracefully handles:

  • Portal downtime
  • Network timeouts
  • CAPTCHA blocking
  • Malformed data
  • Rate limiting

Legal & Terms

  • Uses publicly available government tender data
  • Respects portal terms of service
  • No authentication credentials stored
  • Respectful scraping practices

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

Support

  • Issues: Report bugs on GitHub Issues
  • Discussions: Ask questions in GitHub Discussions
  • Email: support@ensol.com

License

MIT License - see LICENSE file

Author

Created by Ensol Multiclean Equipment for government tender automation


Last Updated: December 31, 2025
Version: 1.0.0

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选