
srobbin/opengov-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP (Model Context Protocol) 서버는 Claude Desktop과 같은 MCP 클라이언트가 Socrata Open Data API에 액세스 할 수있게 해줍니다.
개요
MCP (Model Context Protocol) 서버는 Claude Desktop과 같은 MCP 클라이언트가 Socrata Open Data API에 액세스 할 수있게 해줍니다. 이 통합은 Claude Desktop을 사용하여 검색, 검색 및 정부 데이터 포털에서 공공 데이터 세트를 분석 할 수 있습니다. 이 MCP 서버는 다음과 같은 도시, 주, 연방 기관을 포함하여 Socrata 전원 데이터 포털에서 데이터를 열 수 있습니다. - Chicago - NYC - San Francisco - Los Angeles - 다른 정부 기관 API 키가 기본 사용에 필요한 것은 서버가 공공 데이터에 액세스하는 것과 같습니다. 이 MCP 서버, 클라이언트는 할 수 있습니다: - 키워드, 범주, 태그로 데이터 세트 검색 및 발견 - 데이터 세트 메타 데이터 및 열 정보보기 - 데이터를 검색하고 분석하기 위해 SQL과 같은 쿼리를 실행 - 포털 사용 통계를 얻으십시오 이 MCP 서버를 사용하는 가장 쉬운 방법은 npx로, 어떤 설치가 필요하지 않습니다: 1. : claude desktop config를 만들거나 편집합니다.
개요(AI 번역)
MCP (Model Context Protocol) 서버는 Claude Desktop과 같은 MCP 클라이언트가 Socrata Open Data API에 액세스 할 수있게 해줍니다. 이 통합은 Claude Desktop을 사용하여 검색, 검색 및 정부 데이터 포털에서 공공 데이터 세트를 분석 할 수 있습니다.
개요
이 MCP 서버는 도시, 주, 연방 기관과 같은 모든 Socrata-powered 데이터 포털에서 데이터를 열 수 있습니다.
- 시카고
- 뉴욕
- 샌프란시스코
- 로스 앤젤레스
- 그리고 다른 정부 기관
API 키가 기본 사용에 필요한 것은 서버가 공공 데이터에 액세스하는 것과 같습니다.
특징
이 MCP 서버로 클라이언트는 할 수 있습니다:
- 키워드, 범주, 또는 태그로 datasets 검색 및 발견
- Dataset 메타데이터 및 열정보 보기
- 데이터를 검색하고 분석하기 위해 SQL과 같은 쿼리를 실행
- 포털 사용 통계
Claude 데스크톱 설치
npx로 빠른 설정 (추천)
이 MCP 서버를 사용하는 가장 쉬운 방법은 npx로, 어떤 설치가 필요하지 않습니다:
- **Create 또는 Claude 데스크탑 구성을 편집 **:
홈 디렉토리에 claude_desktop_config.json을 만들거나 편집합니다:
Socrata-powered 데이터 포털을 사용하여 DATA PORTAL URL을 대체할 수 있습니다.
- 명세.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
OpenGov MCP Server
An MCP (Model Context Protocol) server that enables MCP clients like Claude Desktop to access Socrata Open Data APIs. This integration allows Claude Desktop to search for, retrieve, and analyze public datasets from government data portals.
Overview
This MCP server provides access to open data from any Socrata-powered data portal, including those from cities, states, and federal agencies such as:
No API key is required for basic usage, as the server accesses public data.
Features
With this MCP server, clients can:
- Search and discover datasets by keyword, category, or tags
- View dataset metadata and column information
- Run SQL-like queries to retrieve and analyze data
- Get portal usage statistics
Installation for Claude Desktop
Quick Setup with npx (Recommended)
The easiest way to use this MCP server is with npx, which doesn’t require any installation:
-
Create or edit your Claude Desktop configuration:
Create or edit
claude_desktop_config.jsonin your home directory:{ "mcpServers": { "opengov": { "command": "npx", "args": ["-y", "opengov-mcp-server@latest"], "env": { "DATA_PORTAL_URL": "https://data.cityofchicago.org" } } } }You can replace the DATA_PORTAL_URL with any Socrata-powered data portal.
-
Restart Claude Desktop (if it was already running)
-
Start using the MCP server:
In Claude Desktop, you can now ask questions like:
How many cars were towed in Chicago this month?and you can follow up with questions that drill further into detail:
Which make and color were towed the most? Also, were there any interesting vanity plates?The first time you run a query, npx will automatically download and run the latest version of the server.
Manual Installation from Source
If you prefer to run from source (for development or customization):
-
Clone this repository:
git clone https://github.com/srobbin/opengov-mcp-server.git cd opengov-mcp-server -
Install dependencies and build:
npm install npm run build -
Create Claude Desktop configuration:
Create or edit
claude_desktop_config.jsonin your home directory:{ "mcpServers": { "opengov": { "command": "node", "args": [ "/path/to/your/opengov-mcp-server/dist/index.js" ], "env": { "DATA_PORTAL_URL": "https://data.cityofchicago.org" } } } }Replace
/path/to/your/opengov-mcp-serverwith the actual path where you cloned the repository.
설치
npx -y opengov-mcp-server@latest설정
{
"mcpServers": {
"opengov": {
"command": "npx",
"args": ["-y", "opengov-mcp-server@latest"],
"env": {
"DATA_PORTAL_URL": "https://data.cityofchicago.org"
}
}
}
}