Foresight API
Economic, demographic and financial time series, plus Creative Foresight indicators and signals.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"foresight-api": {
"url": "https://api.creativeforesight.io/api/mcp"
}
}
}원격 엔드포인트
https://api.creativeforesight.io/api/mcpstreamable-http할 수 있는 일
도구 목록
도구 (8)
🟢search_indicators(query, source, category, limit)
Search Foresight API economic, demographic, and derived (cf:) indicators. Returns matching indicator codes, descriptions, units, source slugs, and frequencies. Creative Foresight originals use cf:* codes and region filters use FIPS-style region codes where applicable.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "Search text for indicator names or descriptions."
},
"source": {
"description": "Optional source slug such as fred, bls, bea, or cf.",
"type": "string",
"minLength": 1
},
"category": {
"description": "Optional indicator category filter.",
"type": "string",
"minLength": 1
},
"limit": {
"default": 20,
"description": "Maximum indicators to return.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_sources
List Foresight API sources and catalog freshness context for economic, demographic, and derived cf:* indicators.
입력 스키마
{
"type": "object",
"properties": {}
}🟢list_regions(type)
List supported API regions. County and subnational regions use FIPS-style codes that can be passed to observation tools.
입력 스키마
{
"type": "object",
"properties": {
"type": {
"description": "Optional region type filter, such as country, state, or county.",
"type": "string",
"minLength": 1
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_observations(indicator, region, start_date, end_date, as_of, ...)
Return an authenticated time series for an economic, demographic, or derived Creative Foresight cf:* indicator, optionally filtered by FIPS-style region code and date range. Includes unit and attribution metadata from the v1 observations API.
입력 스키마
{
"type": "object",
"properties": {
"indicator": {
"type": "string",
"minLength": 1,
"description": "Indicator code, including Creative Foresight originals such as cf:* codes."
},
"region": {
"description": "Optional region code. County regions use FIPS codes.",
"type": "string",
"minLength": 1
},
"start_date": {
"description": "Optional inclusive start date as YYYY-MM-DD.",
"type": "string",
"minLength": 1
},
"end_date": {
"description": "Optional inclusive end date as YYYY-MM-DD.",
"type": "string",
"minLength": 1
},
"as_of": {
"description": "Optional YYYY-MM-DD: read the values as published by the end of that day, never a later revision (point-in-time, for backtests without look-ahead).",
"type": "string",
"minLength": 1
},
"limit": {
"default": 100,
"description": "Maximum observations to return.",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"required": [
"indicator"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_latest(indicator, region, as_of)
Return the latest authenticated value for an economic, demographic, or derived Creative Foresight cf:* indicator, optionally filtered by FIPS-style region code. Use this when an agent needs the current value rather than a full series.
입력 스키마
{
"type": "object",
"properties": {
"indicator": {
"type": "string",
"minLength": 1,
"description": "Indicator code, including Creative Foresight originals such as cf:* codes."
},
"region": {
"description": "Optional region code. County regions use FIPS codes.",
"type": "string",
"minLength": 1
},
"as_of": {
"description": "Optional YYYY-MM-DD: read the values as published by the end of that day, never a later revision (point-in-time, for backtests without look-ahead).",
"type": "string",
"minLength": 1
}
},
"required": [
"indicator"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_insights(indicator, region, source, window)
Return deterministic computed facts for one indicator plus active signals. Every fact and signal carries a server-rendered, shareable plain-spoken sentence in `text` (null when the indicator lacks curated display metadata). Facts also include humanTemplate, typed params, and salience scores from 0..1. Signals include strength, direction, salience, evidence, and glyph, friendly direction-aware label, plus tone vocabulary for UI chips.
입력 스키마
{
"type": "object",
"properties": {
"indicator": {
"type": "string",
"minLength": 1,
"description": "Indicator code, including Creative Foresight originals such as cf:* codes."
},
"region": {
"description": "Optional region code. County regions use FIPS codes.",
"type": "string",
"minLength": 1
},
"source": {
"description": "Optional source slug for duplicate provider codes.",
"type": "string",
"minLength": 1
},
"window": {
"default": "all",
"description": "Observation window: all, or an integer followed by d, m, or y, such as 90d, 12m, or 5y.",
"type": "string",
"pattern": "^(all|[1-9]\\d*[dmy])$"
}
},
"required": [
"indicator"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_active_signals(indicators, region, type, strength, limit)
Return active Creative Foresight signal intervals across indicators. Each result carries a server-rendered, shareable plain-spoken sentence in `text`, plus type, strength, direction, interval timestamps, detector evidence, and glyph, friendly direction-aware label, plus tone vocabulary for UI chips. Requires premium creative-foresight API-key access.
입력 스키마
{
"type": "object",
"properties": {
"indicators": {
"description": "Optional indicator codes, including Creative Foresight originals such as cf:* codes.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"region": {
"description": "Optional region code. County regions use FIPS codes.",
"type": "string",
"minLength": 1
},
"type": {
"description": "Optional signal type filter.",
"type": "string",
"enum": [
"acceleration",
"extreme",
"trend_break"
]
},
"strength": {
"default": "neutral",
"description": "Minimum signal strength. Defaults to neutral, hiding weak signals.",
"type": "string",
"enum": [
"weak",
"neutral",
"strong"
]
},
"limit": {
"default": 50,
"description": "Maximum active signals to return.",
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ask(question, region, window)
Ask a natural-language question over Foresight data and get a grounded answer with a verifiable citation trace. Every number in the prose traces to an executed tool call listed in citations; resolved names the indicators, regions, and window the question mapped to. Questions with no Foresight coverage return no_coverage and are never charged. Prefer this tool when you do not know the indicator vocabulary; use the typed tools when you do.
입력 스키마
{
"type": "object",
"properties": {
"question": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "A natural-language question about economic, demographic, or financial data."
},
"region": {
"description": "Optional FIPS region hint: 5-digit county, 2-digit state, or US.",
"type": "string",
"minLength": 1
},
"window": {
"description": "Optional observation window: all, or an integer followed by d, m, or y, such as 90d, 12m, or 5y.",
"type": "string",
"pattern": "^(all|[1-9]\\d*[dmy])$"
}
},
"required": [
"question"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}커뮤니티
증거