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
}社群
證據