Back to Home
ht-fujimoto icon

estat-aws-mcp-server

Verified Safe

by ht-fujimoto

Overview

This server acts as a client for the e-Stat data portal, enabling natural language search, fetching, transformation, and analysis of Japanese government statistics, optimized for AWS environments.

Installation

Run Command
python server_mcp_streamable.py

Environment Variables

  • ESTAT_APP_ID
  • S3_BUCKET
  • AWS_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • PORT
  • FASTMCP_LOG_LEVEL

Security Notes

The project follows good security practices by retrieving sensitive information (e-Stat API key, AWS credentials) from environment variables rather than hardcoding them in the core application logic. Error handling explicitly redacts API keys and AWS secrets from logs and responses. IAM roles are defined with specific, least-privilege permissions for AWS services (S3, Athena, Glue). Network security relies on VPC and security groups. A minor potential risk could be path traversal if the 'local_path' parameter in 'download_csv_from_s3' is directly controlled by an untrusted user without further sanitization, although this is a server-side tool and typically used within a controlled environment. The `universal_dataset_metadata_extractor.py` standalone script hardcodes an API key, but this appears to be a separate utility and not part of the main MCP server's deployed logic.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens50000
Stars0
Forks0
Last Update2026-01-19

Tags

e-StatAWSData AnalysisPythonMCP Server