Open Index
UK public data by area: house prices, crime, deprivation, schools and more, each figure cited.
我该使用它吗
质量与安全性
发现(2)
- LOW在 lookup_postcode 中
- LOW在 fetch 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"open-index": {
"url": "https://openindex.co.uk/mcp"
}
}
}远程端点
https://openindex.co.uk/mcpstreamable-http它能做什么
工具清单
工具(7)
🟢search_places(query, limit)
Find UK places (nations, regions, councils, constituencies, towns, wards, neighbourhoods) and postcodes by name, with each one's official code, level and page URL. Also lists matching data layers.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "A place name, postcode or district, such as Dalston, Leeds or E8.",
"maxLength": 100
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 8
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_place(place, topic)
Published figures for one UK area: key figures by default, or every figure in one topic. Each figure has its period, publication date, rank, comparisons, source and a link to the figure on its page.
输入模式
{
"type": "object",
"properties": {
"place": {
"type": "string",
"description": "An official area code (E09000012), a page slug (hackney) or path, or an exact place name."
},
"topic": {
"type": "string",
"enum": [
"housing",
"crime",
"people",
"deprivation",
"health",
"education",
"environment",
"transport",
"connectivity",
"planning",
"economy",
"council-tax",
"elections",
"services"
],
"description": "Every figure in this topic, with gaps and their reasons."
}
},
"required": [
"place"
],
"additionalProperties": false
}🟢get_ranking(layer, scope, order, limit, place)
Councils ranked on one measure across the UK, a nation or an English region, for the latest period. Measures each nation makes its own way (such as deprivation) are ranked within one nation only.
输入模式
{
"type": "object",
"properties": {
"layer": {
"type": "string",
"description": "A layer id or slug, such as house-price-average or house-prices."
},
"scope": {
"type": "string",
"description": "uk, a nation (england, wales, scotland, northern-ireland) or an English region (london, north-west...). Default uk."
},
"order": {
"type": "string",
"enum": [
"highest",
"lowest"
],
"default": "highest"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
},
"place": {
"type": "string",
"description": "Optional: also say where this council sits."
}
},
"required": [
"layer"
],
"additionalProperties": false
}🟢compare_places(a, b, layers)
Two UK areas of the same level side by side on the same published figures, each with its own period and source. Key figures by default.
输入模式
{
"type": "object",
"properties": {
"a": {
"type": "string",
"description": "An official area code (E09000012), a page slug (hackney) or path, or an exact place name."
},
"b": {
"type": "string",
"description": "An official area code (E09000012), a page slug (hackney) or path, or an exact place name."
},
"layers": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 8,
"description": "Optional layer ids to compare."
}
},
"required": [
"a",
"b"
],
"additionalProperties": false
}🟢lookup_postcode(postcode)
The areas a Great Britain postcode sits in (council, constituency, ward, neighbourhood and more) with their codes and pages. A district (E8) or sector (E8 1) gives its councils. Northern Ireland postcodes are not available.
输入模式
{
"type": "object",
"properties": {
"postcode": {
"type": "string",
"description": "A full postcode (E8 1AA), sector (E8 1) or district (E8).",
"maxLength": 12
}
},
"required": [
"postcode"
],
"additionalProperties": false
}🟢search(query)
Find UK area overview documents by place name for research, with canonical page paths, titles and citation URLs. Great Britain postcodes identify their published area. No Northern Ireland postcodes.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 100
}
},
"required": [
"query"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"title",
"url"
],
"additionalProperties": false
}
}
},
"required": [
"results"
],
"additionalProperties": false
}🟢fetch(id)
Read one UK area's overview figures by its canonical page path. Includes periods, sources, licences, gaps and citation links at the published level of detail.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"id",
"title",
"text",
"url"
],
"additionalProperties": false
}社区
证据