DataGraph
Urban intelligence knowledge graph. Structured locality data for civic problem-solving.
我该使用它吗
质量与安全性
A
基于对工具定义和协议合规性的自动分析。
上下文开销
~481token 数(工具定义)
~623 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.38%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"datagraph": {
"command": "npx",
"args": [
"datagraph-city-mcp-server"
]
}
}
}可运行的软件包
npmdatagraph-city-mcp-server
1.7.2stdio远程端点
https://api.datagraph.city/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_server_info
Get DataGraph MCP server metadata and GOSR framework info.
输入模式
{
"type": "object",
"properties": {}
}🟢list_datasets(locality)
List available datasets. Optionally filter by locality code.
输入模式
{
"type": "object",
"properties": {
"locality": {
"type": "string",
"description": "Filter by locality code (optional)"
}
}
}🟢get_locality_schema(locality)
Get the graph schema for a locality (node types, relationships, sample queries). Call list_datasets first to get locality codes.
输入模式
{
"type": "object",
"properties": {
"locality": {
"type": "string",
"description": "Locality code (REQUIRED). Use the 'locality' field from list_datasets. Example: 'nova-scotia', 'kc', 'unlonely-nyc'."
}
},
"required": [
"locality"
]
}🟢query_locality_data(query, locality, cypher_query, cypher_params, limit)
Query data using natural language or Cypher. Requires auth.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "User question or description."
},
"locality": {
"type": "string",
"description": "Locality code (REQUIRED). Use the 'locality' field from list_datasets."
},
"cypher_query": {
"type": "string",
"description": "RECOMMENDED: Cypher query generated from schema. MUST include WHERE n.dataset = '<dataset_id>' filter. Must be read-only with LIMIT clause (max 1000)."
},
"cypher_params": {
"type": "object",
"description": "Parameters for Cypher query ($param syntax)."
},
"limit": {
"type": "number",
"description": "Max results for NL queries (default: 10, max: 100)",
"default": 10
}
},
"required": [
"query"
]
}🟢get_usage_stats
Check your API usage and quota. Requires auth.
输入模式
{
"type": "object",
"properties": {}
}社区
证据
最近观测
已验证未记录版本5 个工具
已验证未记录版本5 个工具