Boston Core MCP

Boston Core MCP

An MCP server that provides safe, read-only access to Boston's open data portal, enabling natural language exploration of civic datasets.

Category
访问服务器

README

Boston Core MCP

Safe, conversational access to Boston's open data.

Boston Core MCP is a Model Context Protocol (MCP) server created by the City of Boston Department of Innovation and Technology (DoIT). It gives AI assistants and agentic tools safe, read-only access to Boston's open data portal, enabling staff, residents, and partners to explore civic information through natural conversation.

Why Boston Core MCP?

For City Staff

  • Ask questions naturally - "What datasets do we have about 311 requests?" or "Show me crime data from last month"
  • No technical barriers - Works directly with Claude Desktop and other MCP-compatible tools
  • Always up-to-date - Connects directly to Boston's live open data portal
  • Save time - Get answers instantly without navigating complex data portals

For Residents & Partners

  • Explore Boston's data through conversation instead of navigating complex portals
  • Discover datasets you didn't know existed
  • Get answers quickly without learning database queries or API syntax
  • Trustworthy source - Direct connection to official City of Boston data

For Developers

  • Production-ready - Deployed on AWS Lambda with automated CI/CD
  • Well-documented - Comprehensive guides for deployment and development
  • Open source - MIT licensed, built with modern Python and best practices
  • Extensible - Easy to adapt for other cities or data sources

What It Does

Boston Core MCP provides five powerful tools that let AI assistants interact with Boston's open data:

  1. Search Datasets - Find datasets by keywords (e.g., "311", "crime", "parking")
  2. List All Datasets - Browse everything available on the portal
  3. Get Dataset Info - Detailed metadata and resources for any dataset
  4. Query Data - Get actual data records with filtering, sorting, and pagination
  5. Get Schema - Understand the structure of any dataset

Quick Start

Connect Claude Desktop (2 minutes)

The server is already deployed and ready to use:

# Install mcpengine
pipx install 'mcpengine[cli]'

# Connect Claude to Boston OpenData
mcpengine proxy boston-opendata-lambda \
  https://kdbjj7ebdewlcy24bt4wbf3uju0tjgdf.lambda-url.us-east-1.on.aws \
  --mode http --claude

Then open Claude Desktop and start asking questions about Boston's data!

📖 Full setup guide: docs/LAMBDA_QUICKSTART.md

Key Features

Safety First

  • Read-only access - No modifications to Boston's data
  • Enforced limits - Timeouts and record limits prevent abuse
  • Input validation - All queries validated before execution
  • Error handling - Comprehensive error handling and retry logic

Production Ready

  • Deployed on AWS Lambda - Scalable, serverless infrastructure
  • Automated CI/CD - GitHub Actions for testing and deployment
  • Monitoring - CloudWatch logs and structured logging
  • Cost-effective - Typically $2-8/month for moderate usage

Developer Friendly

  • Well-documented - Guides for every use case
  • Type-safe - Built with Python type hints and Pydantic
  • Tested - Test suite included
  • Modern stack - Python 3.10+, MCPEngine, Terraform

Use Cases

City Staff

  • Policy Research: "What datasets track housing permits in the last year?"
  • Data Analysis: "Show me 311 service requests about potholes from this month"
  • Quick Lookups: "What's the structure of the crime incident reports dataset?"

Residents

  • Civic Engagement: "What data is available about public transportation?"
  • Research: "Find datasets related to city budget and spending"
  • Exploration: "What open data does Boston publish?"

Developers & Researchers

  • API Discovery: "What resources are available in the 311 dataset?"
  • Data Exploration: "Query the first 100 records from crime incidents"
  • Schema Understanding: "Show me the schema for parking violations"

Documentation

Getting Started

Deployment & Operations

Architecture & Development

Technology Stack

  • Python 3.10+ - Modern Python with type hints
  • MCPEngine - HTTP-based MCP server framework
  • AWS Lambda - Serverless compute
  • Terraform - Infrastructure as code
  • GitHub Actions - CI/CD automation

Community & Support

This project is maintained by the City of Boston Department of Innovation and Technology (DoIT).

  • Issues: Open an issue for bugs or feature requests
  • Contributions: See CONTRIBUTORS.md for guidelines
  • License: MIT License - see LICENSE

Learn More

Authors

Srihari Raman & Pradhu Balamurugan

Built with ❤️ by the City of Boston DoIT team

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选