# datagokr MCP server

> Lets an AI client search, preview, and apply for datasets from the South Korean Public Data Portal (data.go.kr).

- Repository: https://github.com/datagokr-dev/datagokr
- Page: https://hostedmcp.org/servers/datagokr-dev/datagokr
- Transport: remote
- Stars: 1
- License: MIT
- Latest version: 0.1.3

## Install

### Claude Code

```sh
claude mcp add --transport http datagokr https://datagokr.dev/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "datagokr": {
      "url": "https://datagokr.dev/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "datagokr": {
      "type": "http",
      "url": "https://datagokr.dev/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"datagokr","type":"http","url":"https://datagokr.dev/mcp"}'
```

### Codex

```sh
codex mcp add datagokr --url https://datagokr.dev/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.datagokr]
url = "https://datagokr.dev/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http datagokr https://datagokr.dev/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "datagokr": {
      "url": "https://datagokr.dev/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DATAGOKR_API_KEY` | no | no |  |
| `DATAGOKR_DOWNLOAD_DIR` | no | no |  |
| `DATAGOKR_LIVE_TEST` | no | no |  |
| `PORTAL_FILE` | no | no |  |

## FAQ

### Can I search for data without an API key?

Yes, searching, checking data structures, and previewing the first few rows of datasets can be done without an API key or login.

### How can I apply for data usage through the AI?

You can use the 'apply' tool to request data usage for up to 50 datasets at once using your data.go.kr account.

### Is my API key shared with the remote server?

No, for advanced tasks like downloading or applying for data, a local program runs on your computer so your keys and login info are sent directly to the official portal.
