
quantgeekdev/fiscal-data-mcp
API development이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
mcp 서버는 mcp-framework에 내장 된 treasury 데이터에 연결
개요
Fiscal 데이터 MCP Server는 미국 재무의 Fiscal Data API에 연결되는 MCP 서버의 실제 구현을 보여줍니다. 그것은 진열장: - 특정 treasury 진술을 fetching하기위한 도구 - 과거 데이터 액세스 리소스 - 형식 된 보고서 생성을위한 Prompts Claude Desktop config 파일에 이 구성을 추가: : ~/Library/Application Support/Claude/claude desktop config.json : %APPDATA%/Claude/claude desktop config.json 구성되면 Claude를 통해 서버와 상호 작용할 수 있습니다. get daily treasury statement 도구를 사용하여 특정 날짜에 대한 Fetch treasury 데이터 : 리소스 시스템을 통해 역사적인 treasury 데이터의 30 일 액세스 : - 1 시간 동안 자동 캐시 - 수요에 업데이트 - 포맷 된 JSON 데이터를 제공합니다
개요(AI 번역)
개요
Fiscal 데이터 MCP Server는 미국 재무의 Fiscal Data API에 연결되는 MCP 서버의 실제 구현을 보여줍니다. 그것은 진열장:
- 특정 treasury 진술을 fetching를 위한 공구
- 과거 데이터 액세스 리소스
- 형식 된 보고서 생성을위한 Prompts
빠른 시작
##1. Claude 데스크톱 설치 및 사용
Claude Desktop config 파일에 이 구성을 추가:
** 맥 OS**: ~/Library/Application Support/Claude/claude_desktop_config.json
윈도우: %APPDATA%/Claude/claude_desktop_config.json
##2 예제 상호 작용
구성되면 Claude를 통해 서버와 상호 작용할 수 있습니다.
특징
##1. 일일 재무 성명
특정 날짜에 대한 Fetch treasury 데이터 get_daily_treasury_statement 도구 :
##2. 역사 자료 자원
리소스 시스템을 통해 역사적인 treasury 데이터의 30 일 액세스 :
- 1 시간 동안 자동 캐시
- 수요에 대한 업데이트
- 포맷 된 JSON 데이터 제공
##3. 보고서 생성
daily_treasury_report]]을 사용하여 형식화 된 treasury 보고서를 생성 :
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
Overview
The Fiscal Data MCP Server demonstrates a practical implementation of an MCP server that connects to the US Treasury’s Fiscal Data API. It showcases:
- Tools for fetching specific treasury statements
- Resources for historical data access
- Prompts for generating formatted reports
Quick Start
1. Install and Use with Claude Desktop
Add this configuration to your Claude Desktop config file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"fiscal-data": {
"command": "npx",
"args": ["fiscal-data-mcp"]
}
}
}
2. Example Interactions
Once configured, you can interact with the server through Claude:
Human: Can you get the treasury statement for the 20th of September 2023?
Features
1. Daily Treasury Statements
Fetch treasury data for specific dates using the get_daily_treasury_statement tool:
// Example usage through Claude
Human: Get the treasury statement for 2024-03-01
Assistant: I'll fetch that information for you using the treasury statement tool.
2. Historical Data Resource
Access 30 days of historical treasury data through the resource system:
- Automatically cached for 1 hour
- Updates on demand
- Provides formatted JSON data
3. Report Generation
Generate formatted treasury reports using the daily_treasury_report prompt:
// Example usage through Claude
Human: Generate a treasury report for 2024-03-01
Assistant: I'll use the daily treasury report prompt to create a formatted report...
설치
npx fiscal-data-mcp설정
{
"mcpServers": {
"fiscal-data": {
"command": "npx",
"args": ["fiscal-data-mcp"]
}
}
}