UNPKG

yszl-mcp

Version:

Scenic Area Tourist Flow Query Server with official MCP SDK

171 lines (170 loc) 4.14 kB
{ "name": "yszl-mcp", "version": "1.2.68", "description": "Scenic Area Tourist Flow Query Server with official MCP SDK", "main": "index.js", "type": "module", "bin": { "yszl-mcp": "bin/index.js" }, "scripts": { "start": "node bin/index.js", "dev": "nodemon bin/index.js" }, "keywords": [ "tourism", "scenic", "tourist", "flow", "mcp" ], "author": "", "license": "ISC", "dependencies": { "@modelcontextprotocol/sdk": "^1.10.2", "axios": "^1.6.7", "dotenv": "^16.4.5", "express": "^4.18.3", "form-data": "^4.0.0", "zod": "^3.24.3" }, "devDependencies": { "nodemon": "^3.1.0" }, "mcp": { "schemaVersion": "v1", "humanName": "Tourist Flow Query Service", "modelName": "tourist_flow_query_service", "description": { "human": "Provides real-time tourist flow and visitor profile query services for scenic areas", "model": "A service for querying real-time tourist flow, cumulative flow, daily flow statistics and visitor profiles (origin, gender, age distribution) in scenic areas" }, "auth": { "type": "none" }, "api": { "type": "stdio", "stdio": { "enabled": true } }, "tools": [ { "name": "TouristFlow", "description": "Get real-time tourist flow information", "parameters": { "type": "object", "properties": { "scId": { "type": "string", "description": "Scenic Area ID" } }, "required": [ "scId" ] } }, { "name": "CumulativeTouristFlow", "description": "Get cumulative tourist flow statistics", "parameters": { "type": "object", "properties": { "scId": { "type": "string", "description": "Scenic Area ID" } }, "required": [ "scId" ] } }, { "name": "DailyTouristFlow", "description": "Get daily tourist flow statistics", "parameters": { "type": "object", "properties": { "scId": { "type": "string", "description": "Scenic Area ID" }, "date": { "type": "string", "description": "Date in YYYYMMDD format" } }, "required": [ "scId", "date" ] } }, { "name": "ProvinceOrigin", "description": "Get tourist province origin distribution", "parameters": { "type": "object", "properties": { "scId": { "type": "string", "description": "Scenic Area ID" }, "date": { "type": "string", "description": "Date in YYYYMMDD format" } }, "required": [ "scId", "date" ] } }, { "name": "GenderPortrait", "description": "Get tourist gender distribution", "parameters": { "type": "object", "properties": { "scId": { "type": "string", "description": "Scenic Area ID" }, "date": { "type": "string", "description": "Date in YYYYMMDD format" } }, "required": [ "scId", "date" ] } }, { "name": "AgePortrait", "description": "Get tourist age distribution", "parameters": { "type": "object", "properties": { "scId": { "type": "string", "description": "Scenic Area ID" }, "date": { "type": "string", "description": "Date in YYYYMMDD format" } }, "required": [ "scId", "date" ] } } ] } }