← Back to Mandi Rate Store
ARD ManifestMCP CardAuth Guide
Agent Ready • RFC 9727 & SEP-1649

Mandi Rate API & AI Agent Integration

Programmatic endpoints, Model Context Protocol (MCP) server endpoints, and agent discovery schemas for real-time Pakistan vegetable mandi market rates.

REST API

GET /api/rates

Full daily rates catalog with KG, Dhari (5KG), and Mann pricing.

MCP Server Card

/.well-known/mcp/server-card.json

SEP-1649 discovery card for Anthropic/Claude & Cursor agents.

Agent Skills Index

/.well-known/agent-skills/index.json

RFC v0.2.0 agent skills index for autonomous tool discovery.

Key Endpoints for Agents

GET/api/rates

Fetches live vegetable rates. Accepts query params ?city=Lahore or ?category=Daily%20Essentials.

GET/api/health

System health and database sync check.

GET/api/openapi.json

OpenAPI 3.1.0 specification for automatic client code generation.

Markdown Content Negotiation for Agents

Agents requesting the homepage with Accept: text/markdown will automatically receive clean, token-efficient Markdown representations of our catalog, rates, and store information instead of HTML.

curl -H "Accept: text/markdown" https://mandirate.com/