Interva

Harmonised, cited time series from 1,800+ statistics bodies: search, panels, provenance.

我该使用它吗

质量与安全性

A
描述质量
94%
模式完整度
83%
命名质量
94%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(2)

  • LOWTool 'discover' description lacks action verb在 discover 中
  • LOWTool 'get_metadata' description lacks action verb在 get_metadata 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~3,076token 数(工具定义)
~1.4 KB典型响应大小
对注意力有显著影响(占 128k 上下文窗口的 2.40%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "interva": {
      "url": "https://api.interva.co/mcp"
    }
  }
}

远程端点

https://api.interva.co/mcpstreamable-http

它能做什么

工具清单

工具(13)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢find_data(question, limit)

Find data for a question in plain words, in any language, e.g. "Nigeria inflation 2023", "highest maternal mortality", "Kenya vs Nigeria GDP per capita" or "taux de chômage des jeunes au Sénégal". Returns how the question was read (countries, years, subject, intent), the answer where it asks for one (a value, a comparison or a ranking, with its dataset), and the matching datasets ranked, the same measure from other publishers grouped under each.

输入模式

{
  "type": "object",
  "properties": {
    "question": {
      "description": "The question in plain words, any language: 'Kenya inflation since 2010'.",
      "title": "Question",
      "type": "string"
    },
    "limit": {
      "default": 10,
      "description": "How many results to return, 1 to 25.",
      "maximum": 25,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "question"
  ],
  "title": "find_dataArguments"
}
🟢country_overview(country)

A country's headline figures (GDP, population, inflation, life expectancy...) with periods and publishers, and how much the catalog holds for it by topic.

输入模式

{
  "type": "object",
  "properties": {
    "country": {
      "description": "A country: ISO alpha-3 or alpha-2 code, or a name in common use ('Nigeria', 'UK', 'Korea, Rep.', 'Ivory Coast').",
      "title": "Country",
      "type": "string"
    }
  },
  "required": [
    "country"
  ],
  "title": "country_overviewArguments"
}
🟢cite_dataset(dataset_id)

How to cite a dataset: the original publisher, the Interva record, the licence.

输入模式

{
  "type": "object",
  "properties": {
    "dataset_id": {
      "description": "A dataset id from find_data, search or build_panel, e.g. 'worldbank-gdp-per-capita'.",
      "title": "Dataset Id",
      "type": "string"
    }
  },
  "required": [
    "dataset_id"
  ],
  "title": "cite_datasetArguments"
}
🟢search(q, limit)

Search datasets, series, and indicators by keyword.

输入模式

{
  "type": "object",
  "properties": {
    "q": {
      "description": "Keywords to match in dataset, series and indicator names.",
      "title": "Q",
      "type": "string"
    },
    "limit": {
      "default": 10,
      "description": "How many results to return, 1 to 100.",
      "maximum": 100,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "q"
  ],
  "title": "searchArguments"
}
🟢discover(dimension)

Explore available dimensions: indicators, topics, geographies, frequencies, sources.

输入模式

{
  "type": "object",
  "properties": {
    "dimension": {
      "default": "indicators",
      "description": "Which list: 'indicators', 'topics', 'geographies', 'frequencies' or 'sources'.",
      "title": "Dimension",
      "type": "string"
    }
  },
  "title": "discoverArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Result",
      "type": "array"
    }
  },
  "required": [
    "result"
  ],
  "title": "discoverOutput"
}
🟢get_series(indicator, geography, start, end, source)

Retrieve a canonical time series by indicator + geography. Both arguments accept any vocabulary the catalog knows: Interva's own code, the publisher's code (`NY.GDP.PCAP.CD`, `WHOSIS_000001`), the indicator name or an alias; and ISO alpha-3, alpha-2, or a country name in common use ('Korea, Rep.', 'UK', 'Ivory Coast'). Returns `{"series": [...]}` on success. When the request cannot be resolved it returns a `detail` explaining which term failed and what to do — an agent can act on that, where an empty list only looks like missing data. Pass `source` to choose between publishers when a term is ambiguous.

输入模式

{
  "type": "object",
  "properties": {
    "indicator": {
      "description": "What is measured: Interva's code, the publisher's code ('NY.GDP.PCAP.CD'), the indicator's name or an alias ('GDP per capita', 'inflation').",
      "title": "Indicator",
      "type": "string"
    },
    "geography": {
      "description": "A country: ISO alpha-3 or alpha-2 code, or a name in common use ('Nigeria', 'UK', 'Korea, Rep.', 'Ivory Coast').",
      "title": "Geography",
      "type": "string"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "First period to include, e.g. '2010' or '2010-01'. Omit for the start of the series.",
      "title": "Start"
    },
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Last period to include, e.g. '2023'. Omit for the latest.",
      "title": "End"
    },
    "source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "A publisher id ('worldbank', 'imf', 'who', 'eurostat'...) to choose among publishers of an ambiguous term. list_sources gives the ids.",
      "title": "Source"
    }
  },
  "required": [
    "indicator",
    "geography"
  ],
  "title": "get_seriesArguments"
}
🟢resolve(indicator, geography)

Check how Interva interprets an indicator or country term, without fetching data. Useful before a batch of calls: it reports the canonical code, which vocabulary matched, and whether the term is ambiguous across publishers.

输入模式

{
  "type": "object",
  "properties": {
    "indicator": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "An indicator term to check (code, name or alias). Omit to check only a country.",
      "title": "Indicator"
    },
    "geography": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "A country term to check (ISO code or name). Omit to check only an indicator.",
      "title": "Geography"
    }
  },
  "title": "resolveArguments"
}
🟢get_metadata(series_id)

Return metadata + provenance for a series id.

输入模式

{
  "type": "object",
  "properties": {
    "series_id": {
      "description": "A series id, as returned in get_series or build_panel results.",
      "title": "Series Id",
      "type": "string"
    }
  },
  "required": [
    "series_id"
  ],
  "title": "get_metadataArguments"
}
🟢list_sources

List data sources/connectors and their coverage.

输入模式

{
  "type": "object",
  "properties": {},
  "title": "list_sourcesArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Result",
      "type": "array"
    }
  },
  "required": [
    "result"
  ],
  "title": "list_sourcesOutput"
}
🟢build_panel(indicators, geographies, start, end, source)

Several indicators for several countries as one table, ready to compute on. `indicators` and `geographies` take any vocabulary `resolve` accepts (codes, publisher codes, names; ISO codes or country names); up to 10 and 60. Returns `rows` (one per country and year, a key per indicator code), `columns` (each indicator's name, unit and the dataset behind each country), and what is missing: `unresolved` terms (an ambiguous one lists candidates: re-call with a code), `missing` country-indicator pairs and `gaps` (years one country lacks). Where several publishers measure one concept ("population"), the World Bank's series is taken and listed in `chosen` with the others; pass `source` or a code to choose another. Values are each publisher's own: nothing is converted, interpolated or filled. Cite each column's datasets with cite_dataset.

输入模式

{
  "type": "object",
  "properties": {
    "indicators": {
      "description": "Up to 10 indicators, each as get_series takes them: codes, publisher codes or names.",
      "items": {
        "type": "string"
      },
      "maxItems": 10,
      "minItems": 1,
      "title": "Indicators",
      "type": "array"
    },
    "geographies": {
      "description": "Up to 60 countries: ISO codes or names.",
      "items": {
        "type": "string"
      },
      "maxItems": 60,
      "minItems": 1,
      "title": "Geographies",
      "type": "array"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "First period to include, e.g. '2010' or '2010-01'. Omit for the start of the series.",
      "title": "Start"
    },
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Last period to include, e.g. '2023'. Omit for the latest.",
      "title": "End"
    },
    "source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "A publisher id ('worldbank', 'imf', 'who', 'eurostat'...) to choose among publishers of an ambiguous term. list_sources gives the ids.",
      "title": "Source"
    }
  },
  "required": [
    "indicators",
    "geographies"
  ],
  "title": "build_panelArguments"
}
🟢find_related_series(dataset_id, geography, limit)

Datasets related to one you have, each with the reason it is offered. `reasons` says why: "same concept (...), another publisher" carries a `comparability` verdict (read it before putting the numbers on one axis); "similar meaning" comes from the search index; "same topic" and "same publisher" fill the rest. Pass `geography` (ISO code or name) to keep only datasets with a series for that country. Use the ids with build_panel or get_series.

输入模式

{
  "type": "object",
  "properties": {
    "dataset_id": {
      "description": "A dataset id from find_data, search or build_panel, e.g. 'worldbank-gdp-per-capita'.",
      "title": "Dataset Id",
      "type": "string"
    },
    "geography": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Keep only datasets with a series for this country (ISO code or name).",
      "title": "Geography"
    },
    "limit": {
      "default": 10,
      "description": "How many results to return, 1 to 30.",
      "maximum": 30,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "dataset_id"
  ],
  "title": "find_related_seriesArguments"
}
🟢list_concepts

List concepts — what is measured — and which publishers measure each. An indicator is one publisher's measurement; a concept is the thing itself. Use this to find out who publishes a given subject before fetching data.

输入模式

{
  "type": "object",
  "properties": {},
  "title": "list_conceptsArguments"
}

输出模式

{
  "type": "object",
  "properties": {
    "result": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "title": "Result",
      "type": "array"
    }
  },
  "required": [
    "result"
  ],
  "title": "list_conceptsOutput"
}
🟢compare_sources(concept, geography, start, end)

Every publisher's series for one concept and geography, side by side. **Read the comparability field before comparing numbers.** Two publishers can measure the same concept and still not be interchangeable: `identical` — safe to difference or chart together. `comparable_with_caveat` — same concept, methodological difference; the per-series `caveat` says what it is (e.g. the World Bank reports mid-year population while Eurostat reports 1 January). `related_only` — same subject, NOT comparable. World Bank and Eurostat both publish GDP, but in different currencies on a different price basis; do not chart them on one axis or compute a difference. The top-level `comparability` is the weakest verdict among the series.

输入模式

{
  "type": "object",
  "properties": {
    "concept": {
      "description": "A concept id from list_concepts, e.g. 'population' or 'gdp-per-capita'.",
      "title": "Concept",
      "type": "string"
    },
    "geography": {
      "description": "A country: ISO alpha-3 or alpha-2 code, or a name in common use ('Nigeria', 'UK', 'Korea, Rep.', 'Ivory Coast').",
      "title": "Geography",
      "type": "string"
    },
    "start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "First period to include, e.g. '2010' or '2010-01'. Omit for the start of the series.",
      "title": "Start"
    },
    "end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Last period to include, e.g. '2023'. Omit for the latest.",
      "title": "End"
    }
  },
  "required": [
    "concept",
    "geography"
  ],
  "title": "compare_sourcesArguments"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本13 个工具