korea-onegov-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Host binding address for local HTTP mode | 127.0.0.1 |
| PORT | No | Port for local HTTP mode | 3000 |
| ONEGOV_API_BASE | No | OneGov API base URL | https://korea-onegov.vercel.app |
| ONEGOV_TIMEOUT_MS | No | External API timeout in milliseconds | 25000 |
| ONEGOV_CHATGPT_COMPAT | No | Set to 'off' to disable search/fetch tools for ChatGPT compatibility | on |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| onegov_searchA | 대한민국 중앙행정기관 약 50곳의 보도자료·정책·법령·통계·정보공개·자주묻는질문·고시공고를 한 번에 검색한다(약 9만 건 색인). 부처 이름을 몰라도 자연어로 검색된다. 하이브리드(키워드+의미) 검색이 기본. Args:
Returns: markdown: 총 건수 + 결과별 제목/유형/기관/발행일/문서 id/원문 링크/요약, 그리고 패싯 요약. json: { query, page, size, total, results[], facets{}, meta{} } — results[i]에 id, doc_type, title, summary, ministry_code, ministry_name, published_at, source_url, kogl_type, law_ref[], region, attachments[], score 포함. Examples:
Errors:
|
| onegov_get_documentA | 문서 id로 전문(본문)과 첨부·관련법령·연관문서를 가져온다. id는 onegov_search 결과의 Args:
Returns: markdown: 제목 · 메타(기관/발행일/원문링크/공공누리 유형/관련법령) · 본문 · 첨부 · 연관 문서. json: { id, doc_type, title, summary, body, ministry_name, published_at, source_url, kogl_type, kogl_notice, attachments[], law_ref[], region, links{related_by_law[], same_ministry_recent[]} } Examples:
|
| onegov_suggest_keywordsA | 입력한 앞글자로 시작하는, 실제 색인에 존재하는 검색어를 돌려준다. 검색 결과가 0건일 때 정확한 용어를 찾는 용도로 먼저 쓰면 좋다. Args:
Returns: { suggestions: [{ text, doc_type }] } Examples:
|
| onegov_list_ministriesA | 색인된 중앙행정기관 목록과 각 기관의 보유 문서 수를 돌려준다. onegov_search 의 ministry 필터에 넣을 코드를 여기서 얻는다. Args:
Returns: { ministries: [{ ministry_code, name, org_type, parent_code, doc_count }] } 참고: "_AGGREGATE"는 특정 부처가 아니라 K-Startup 등 집계 포털에서 모은 전 기관 공통 자료다(가장 문서가 많다). Examples:
|
| onegov_trending_keywordsA | 공개자료 제목에서 자주 등장하는 상위 키워드와 등장 횟수를 돌려준다. "요즘 정부가 뭘 많이 하나"를 훑거나 검색어 후보를 잡을 때 쓴다. Args:
Returns: { keywords: [{ text, count, weight }] } |
| onegov_deadline_grantsA | 접수 마감이 임박한 정부 지원사업·공고를 마감일 순으로 돌려준다. 창업·중소기업·소상공인 지원사업 탐색의 출발점. Args:
Returns: { grants: [{ id, title, org, ministry_name, deadline_at, dday, support_field, apply_target, region, startup_years, source_url, kogl_type }] } dday=0 은 오늘 마감이라는 뜻이다. Examples:
|
| onegov_find_support_programsA | 지원사업(category=grant) 과 고시·공고(doc_type=notice) 로 범위를 미리 좁혀 검색하는 편의 도구. "창업 지원금", "소상공인 지원사업" 같은 요청에 바로 쓴다. onegov_search 에 category=["grant"] 를 매번 넣는 것과 같지만, 필요한 필터만 노출해 실수를 줄인다. Args:
Returns: onegov_search 와 동일한 형식. Examples:
|
| onegov_ministry_latestA | 한 부처(또는 여러 부처)의 최신 공개자료를 발행일 역순으로 가져온다. "국토부 요즘 뭐 냈어?" 같은 질문에 쓴다. Args:
Returns: onegov_search 와 동일한 형식(항상 최신순 정렬). Examples:
|
| onegov_research_topicA | 한 주제에 대해 검색을 돌린 뒤, 상위 문서 몇 건의 본문까지 자동으로 받아와 한 번에 돌려준다. "이 주제 정부 자료 정리해줘" 같은 요청에서 검색→전문조회 왕복을 줄여 준다. Args:
Returns: markdown: 검색 요약(총 건수·상위 목록) + 상위 depth 건의 본문 발췌(기관·발행일·원문링크 포함). json: { query, total, candidates[], documents[] } Examples:
|
| searchA | ChatGPT 커넥터/딥리서치 규격에 맞춘 검색 도구. 대한민국 정부 공개자료를 검색해 {id, title, url} 목록을 돌려준다. 일반적인 MCP 클라이언트에서는 필터가 풍부한 onegov_search 를 쓰는 편이 낫다. Args: query (string, 필수) Returns: { results: [{ id, title, url }] } 를 JSON 문자열로. |
| fetchA | ChatGPT 커넥터/딥리서치 규격에 맞춘 문서 조회 도구. search 가 돌려준 id로 전문을 가져온다. Args: id (string, 필수) Returns: { id, title, text, url, metadata } 를 JSON 문자열로. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/socialkim/korea-onegov-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server