This page describes how to connect the real estate MCP server to Claude CLI.
- Claude CLI (
npm install -g @anthropic-ai/claude-code) - uv
- API key from 공공데이터포털
The server runs as a child process of Claude CLI. No separate server process is needed.
-
Clone this repository locally.
git clone <repository_url> cd real-estate-mcp
-
Register this MCP server in Claude CLI.
claude mcp add -s local \ -e DATA_GO_KR_API_KEY=your_api_key_here \ real-estate -- \ uv run --directory /path/to/real-estate-mcp \ python src/real_estate/mcp_server/server.pyReplace
/path/to/real-estate-mcpwith the actual path to your cloned repository.If you want separate keys per service, add more
-eoptions:claude mcp add -s local \ -e DATA_GO_KR_API_KEY=... \ -e ODCLOUD_API_KEY=... \ -e ODCLOUD_SERVICE_KEY=... \ -e ONBID_API_KEY=... \ real-estate -- \ uv run --directory /path/to/real-estate-mcp \ python src/real_estate/mcp_server/server.py -
Verify that the server is registered.
claude mcp list claude mcp get real-estate
-
For better responses, create a
CLAUDE.mdfile in your working project root and paste resources/custom-instructions-ko.md into it.In Claude CLI, use
CLAUDE.md(project root) instead of Claude Desktop's Project Instructions tab.
The server runs as a standalone HTTP process. Use this when you want to share one running server instance across multiple clients.
-
Clone this repository locally.
git clone <repository_url> cd real-estate-mcp
-
Create a
.envfile in the project root (the server reads it on startup).cp .env.example .env
Set your API key:
DATA_GO_KR_API_KEY=your_api_key_here -
Start the server.
uv run real-estate-mcp --transport http
By default this binds to
http://127.0.0.1:8000. To change host or port:uv run real-estate-mcp --transport http --host 0.0.0.0 --port 9000
-
Register the server in Claude CLI using the HTTP URL.
claude mcp add -s local --transport http \ real-estate http://127.0.0.1:8000/mcp -
Verify that the server is registered.
claude mcp list claude mcp get real-estate
claude mcp remove real-estate