Back to Home
thealphacubicle icon

boston-core-mcp

Verified Safe

by thealphacubicle

Overview

This server provides safe, conversational, read-only access to Boston's open data portal, enabling AI assistants and agentic tools to explore civic information through natural conversation.

Installation

Run Command
python -m servers.boston_opendata_lambda.lambda_server

Environment Variables

  • BOSTON_OPENDATA_CKAN_BASE_URL
  • BOSTON_OPENDATA_API_TIMEOUT
  • BOSTON_OPENDATA_CONNECT_TIMEOUT
  • BOSTON_OPENDATA_READ_TIMEOUT
  • BOSTON_OPENDATA_RATE_LIMIT_CAPACITY
  • BOSTON_OPENDATA_RATE_LIMIT_REFILL_RATE
  • BOSTON_OPENDATA_BURST_CAPACITY
  • BOSTON_OPENDATA_BURST_REFILL_RATE
  • BOSTON_OPENDATA_CIRCUIT_BREAKER_FAILURE_THRESHOLD
  • BOSTON_OPENDATA_CIRCUIT_BREAKER_RECOVERY_TIMEOUT
  • BOSTON_OPENDATA_CIRCUIT_BREAKER_SUCCESS_THRESHOLD
  • BOSTON_OPENDATA_MAX_RETRIES
  • BOSTON_OPENDATA_RETRY_DELAY
  • BOSTON_OPENDATA_RETRY_BACKOFF_MULTIPLIER
  • BOSTON_OPENDATA_MAX_RETRY_DELAY
  • BOSTON_OPENDATA_MAX_RECORDS
  • BOSTON_OPENDATA_MAX_RESPONSE_SIZE
  • BOSTON_OPENDATA_MAX_REQUEST_SIZE
  • BOSTON_OPENDATA_LOG_LEVEL
  • BOSTON_OPENDATA_LOG_FORMAT
  • BOSTON_OPENDATA_LOG_INCLUDE_EXTRA
  • BOSTON_OPENDATA_HEALTH_CHECK_INTERVAL
  • BOSTON_OPENDATA_HEALTH_CHECK_TIMEOUT
  • BOSTON_OPENDATA_MAX_CONNECTIONS
  • BOSTON_OPENDATA_MAX_KEEPALIVE_CONNECTIONS
  • BOSTON_OPENDATA_KEEPALIVE_EXPIRY
  • BOSTON_OPENDATA_ENVIRONMENT
  • BOSTON_OPENDATA_DEBUG

Security Notes

The server demonstrates strong security practices, including explicit input validation using Pydantic, sanitization of string inputs, rate limiting, and circuit breakers. It enforces read-only access and limits response/request sizes to prevent abuse. There are no obvious hardcoded secrets in the application code, with configuration managed via environment variables. Admin scripts for Terraform handle AWS credentials securely via environment variables. Filter validation explicitly rejects unsupported complex operators, enhancing robustness against injection attempts. Overall, the design prioritizes safety for AI agent interaction.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens1500
Stars0
Forks0
Last Update2025-12-02

Tags

Open DataCivic TechAPI WrapperServerlessLLM Tools