Developer Platform

Dehradun Tourism Developer Portal

Integrate Dehradun travel, heritage, food, weather, and destination data into your applications, LLMs, and autonomous AI agents.

← Back to Travel Guide

Public REST API

Zero-auth, high-performance endpoints for places, categories, searches, and visitor analytics.

📐

OpenAPI 3.1.0 Spec

Self-describing machine-readable API specifications with typed parameters and schemas.

🤖

Model Context Protocol

First-party MCP server exposing Dehradun POI tools for Claude, ChatGPT, Cursor, and LLM agents.

Quickstart Guides

cURLTerminal
# 1. Fetch all places in Dehradun
curl -s "https://dehradun1.vercel.app/api/places"

# 2. Filter nature attractions (caves, waterfalls, parks)
curl -s "https://dehradun1.vercel.app/api/places?category=nature"

# 3. Search for specific landmarks
curl -s "https://dehradun1.vercel.app/api/places?search=monastery"

# 4. Request markdown representation for LLMs
curl -s -H "Accept: text/markdown" "https://dehradun1.vercel.app/"
TypeScript / JavaScriptNode.js / Browser
// Fetch spiritual destinations in Dehradun
const response = await fetch("https://dehradun1.vercel.app/api/places?category=spiritual");
const data = await response.json();

console.log(`Found ${data.count} places:`);
data.places.forEach((place) => {
  console.log(`- ${place.name} (${place.distance}): ${place.description}`);
});
Pythonrequests
import requests

url = "https://dehradun1.vercel.app/api/places"
params = {"category": "heritage"}

response = requests.get(url, params=params)
data = response.json()

print(f"Total Heritage Spots: {data['total']}")
for p in data["places"]:
    print(f"* {p['name']} ({p['hindi']}) - Entry: {p['entryFee']}")

Connecting AI Agents via MCP

Add Dehradun Tourism to Claude Desktop, Cursor, or your local MCP client by adding the following snippet to your configuration:

claude_desktop_config.json
{
  "mcpServers": {
    "dehradun-tourism": {
      "url": "https://dehradun1.vercel.app/.well-known/mcp",
      "transport": "sse"
    }
  }
}

API Interactive Explorer

Test live API endpoints directly in your browser with no authentication required.