@nyuta/estat-mcp
Version:
MCP server for e-Stat API integration - Access Japanese government statistical data
52 lines • 1.47 kB
TypeScript
export interface ToolArguments {
search_word?: string;
surveyYears?: string;
startPosition?: number;
limit?: number;
stats_data_id?: string;
data_set_id?: string;
openYears?: string;
statsField?: string;
statsCode?: string;
searchKind?: string;
sectionHeaderFlg?: number;
replaceSpChars?: number;
narrowDownArea?: string;
dataType?: string;
catalogId?: string;
resourceId?: string;
explanationGetFlg?: string;
}
export interface EStatError {
error: string;
status?: string;
details?: string;
}
export interface EStatRequestParams extends Record<string, string | number | undefined> {
searchWord?: string;
surveyYears?: string;
startPosition?: number;
limit?: number;
statsDataId?: string;
dataSetId?: string;
openYears?: string;
statsField?: string;
statsCode?: string;
searchKind?: string;
sectionHeaderFlg?: number;
replaceSpChars?: number;
narrowDownArea?: string;
dataType?: string;
catalogId?: string;
resourceId?: string;
explanationGetFlg?: string;
}
export declare const ENDPOINTS: {
readonly GET_STATS_LIST: "getStatsList";
readonly GET_META_INFO: "getMetaInfo";
readonly GET_STATS_DATA: "getStatsData";
readonly REF_DATASET: "refDataset";
readonly GET_DATA_CATALOG: "getDataCatalog";
};
export type EndpointName = typeof ENDPOINTS[keyof typeof ENDPOINTS];
//# sourceMappingURL=types.d.ts.map