korean-stock-search
nomadamas/k-skill
Search Korean listed stocks and fetch daily trade data via k-skill-proxy without needing a KRX API key.
What is korean-stock-search?
This skill queries Korean stock market data (KOSPI, KOSDAQ, KONEX) through a proxy server that handles KRX authentication. Use it to search for stocks by name or code, retrieve company base information, and check daily price snapshots.
- Search Korean listed stocks by name or code across KOSPI, KOSDAQ, and KONEX markets
- Retrieve base information (market cap, listed shares, par value, security classification)
- Fetch daily trade snapshots (closing price, volume, trading value, price change, fluctuation rate)
- Automatically retry with the most recent business day if querying a market holiday
- Handle ambiguous stock names by narrowing results before detailed lookups
How to install korean-stock-search
npx skills add https://github.com/nomadamas/k-skill --skill korean-stock-searchHow to use korean-stock-search
- 1.Call the search endpoint with a stock name or code to identify the correct security and market
- 2.Use the returned market and code to query base-info for company fundamentals
- 3.Call trade-info with the market, code, and optional date (YYYYMMDD) to get daily price data
- 4.If no date is provided, the proxy defaults to today's KST date and retries with the most recent business day if needed
- 5.Parse the response JSON to extract prices, volumes, and market cap in human-readable units
Use cases
- Find a stock's market and code when given only the company name (e.g., 'Samsung Electronics')
- Check today's closing price and trading volume for a specific stock code
- Retrieve historical daily price data for a given date in YYYYMMDD format
- Compare stock information across different Korean exchanges
- Verify company details like listing date and outstanding shares
- Financial analysts researching Korean equities
- Developers building Korean stock market tools or dashboards
- Traders needing quick lookups of KRX-listed securities
- Anyone analyzing Korean market data without direct KRX API access
korean-stock-search FAQ
No. The proxy server manages the KRX_API_KEY internally. You only need to make HTTP requests to the k-skill-proxy endpoints.
Use YYYYMMDD format (e.g., 20260408 for April 8, 2026). If omitted, the proxy defaults to today's KST date.
No. This skill only provides daily snapshots (closing price, volume, etc.). It does not support real-time quotes, order book data, or minute-level candles.
Use the search endpoint first to narrow down candidates by market and code, then query base-info or trade-info with the specific code.
No. This skill is read-only data retrieval only. All responses note that data is for reference and not investment advice.
Full instructions (SKILL.md)
Source of truth, from nomadamas/k-skill.
name: korean-stock-search description: Use k-skill-proxy to search Korean listed stocks, inspect KRX base information, and fetch daily trade snapshots without asking the user to issue a KRX API key. license: MIT metadata: category: finance locale: ko-KR phase: v1
Korean Stock Search
What this skill does
기본적으로 https://k-skill-proxy.nomadamas.org/v1/korean-stock/... 로 요청해서 KRX 상장 종목 검색, 종목 기본정보, 일별 시세를 조회한다.
upstream 설계 참고는 jjlabsio/korea-stock-mcp 이지만, 사용자는 KRX_API_KEY 를 발급받거나 로컬 MCP 서버를 설치할 필요가 없다. KRX_API_KEY 는 proxy 서버에서만 관리한다.
When to use
- "삼성전자 종목코드랑 시장구분 찾아줘"
- "005930 기본정보 보여줘"
- "SK하이닉스 20260408 종가/거래량 알려줘"
- "KOSDAQ 에서 알테오젠 시세 확인해줘"
When not to use
- 미국/일본/가상자산 같은 비한국 주식 조회
- 실시간 체결/호가/분봉 조회
- 재무제표/공시 원문 분석 (이 스킬 범위 밖)
- 투자 자문/매수 추천
Inputs
q: 종목명 또는 종목코드 검색어 (searchendpoint)market:KOSPI|KOSDAQ|KONEXcode: 종목코드 (보통 6자리 단축코드, 예:005930)bas_dd: 기준일YYYYMMDD(없으면 KST 오늘 날짜 기본값, 휴장일이면 최근 영업일로 다시 시도)limit: 검색 결과 수 (기본 10, 최대 20)
Prerequisites
없음. 사용자는 KRX_API_KEY 를 준비할 필요가 없다. upstream key는 proxy 서버에서만 주입한다.
Default path
추가 client API 레이어는 불필요하다. 그냥 프록시 서버에 HTTP 요청만 넣으면 된다.
KSKILL_PROXY_BASE_URL 환경변수가 있으면 그 값을 사용하고, 없으면 기본 경로 https://k-skill-proxy.nomadamas.org 를 사용한다.
Supported endpoints
종목 검색
GET /v1/korean-stock/search?q={검색어}&bas_dd={YYYYMMDD}
종목 기본정보
GET /v1/korean-stock/base-info?market={KOSPI|KOSDAQ|KONEX}&code={종목코드}&bas_dd={YYYYMMDD}
종목 일별 시세
GET /v1/korean-stock/trade-info?market={KOSPI|KOSDAQ|KONEX}&code={종목코드}&bas_dd={YYYYMMDD}
Example requests
종목 검색:
curl -fsS --get 'https://k-skill-proxy.nomadamas.org/v1/korean-stock/search' \
--data-urlencode 'q=삼성전자' \
--data-urlencode 'bas_dd=20260408'
종목 기본정보:
curl -fsS --get 'https://k-skill-proxy.nomadamas.org/v1/korean-stock/base-info' \
--data-urlencode 'market=KOSPI' \
--data-urlencode 'code=005930' \
--data-urlencode 'bas_dd=20260408'
종목 일별 시세:
curl -fsS --get 'https://k-skill-proxy.nomadamas.org/v1/korean-stock/trade-info' \
--data-urlencode 'market=KOSPI' \
--data-urlencode 'code=005930' \
--data-urlencode 'bas_dd=20260408'
Response shape
검색 응답
{
"items": [
{
"market": "KOSPI",
"code": "005930",
"standard_code": "KR7005930003",
"name": "삼성전자",
"short_name": "삼성전자",
"english_name": "Samsung Electronics",
"listed_at": "1975-06-11"
}
],
"query": { "q": "삼성전자", "bas_dd": "20260408", "limit": 10 },
"proxy": { "name": "k-skill-proxy", "cache": { "hit": false, "ttl_ms": 300000 } }
}
기본정보 응답
{
"item": {
"market": "KOSPI",
"code": "005930",
"standard_code": "KR7005930003",
"name": "삼성전자",
"short_name": "삼성전자",
"english_name": "Samsung Electronics",
"security_group": "주권",
"section_type": "대형주",
"stock_certificate_type": "보통주",
"par_value": 100,
"listed_shares": 5969782550
},
"query": { "market": "KOSPI", "code": "005930", "bas_dd": "20260408" },
"proxy": { "name": "k-skill-proxy", "cache": { "hit": false, "ttl_ms": 300000 } }
}
일별 시세 응답
{
"item": {
"market": "KOSPI",
"code": "005930",
"standard_code": "KR7005930003",
"base_date": "20260408",
"name": "삼성전자",
"close_price": 84000,
"change_price": 1000,
"fluctuation_rate": 1.2,
"open_price": 83000,
"high_price": 84500,
"low_price": 82800,
"trading_volume": 12345678,
"trading_value": 1030000000000,
"market_cap": 500000000000000
},
"query": { "market": "KOSPI", "code": "005930", "bas_dd": "20260408" },
"proxy": { "name": "k-skill-proxy", "cache": { "hit": false, "ttl_ms": 300000 } }
}
Response policy
- 종목명이 모호하면 먼저
search로 시장/종목코드를 좁힌 뒤base-info또는trade-info로 들어간다. - 일부 시장 upstream 이 실패하면
upstream.degraded=true와failed_markets를 보고 부분 장애 여부를 함께 설명한다. trade-info결과는 일별 snapshot 이다. 실시간 호가/체결처럼 말하지 않는다.- 휴장일/장마감 이전이면 해당
bas_dd에 데이터가 없을 수 있으니 최근 영업일로 재시도한다. 이 경우trade-info는 502 대신not_found로 끝날 수 있다. - 숫자는 사람이 읽기 쉬운 단위(원, 주, 억/조)로 짧게 풀어주되 원본 숫자도 유지한다.
- 답변 말미에 "KRX 공식 데이터 기준 / 투자 조언 아님" 을 짧게 남긴다.
Keep the answer compact
- 종목명 / 시장 / 종목코드
- 기준일
- 종가 / 등락률 / 거래량 / 시가총액
- 필요할 때만 상장일 / 상장주식수 / 액면가
- 여러 후보가 나오면 상위 3~5개만 보여주고 사용자가 고르게 한다
Failure modes
q,market,code,bas_dd형식이 잘못되면 400 응답- 프록시 서버에
KRX_API_KEY가 없으면 503 응답 - 검색 중 일부 시장 upstream 이 실패하면 200 응답이지만
upstream.degraded=true와failed_markets를 함께 반환할 수 있다. - 모든 요청 시장에서 upstream KRX 조회가 실패하면 502 응답
- 해당 기준일/시장에 종목이 없으면 404
not_found
Done when
- 검색어가 모호하면
search로 후보를 먼저 좁혔다. - 필요한 경우
base-info와trade-info를 호출해 핵심 수치를 정리했다. - 사용자가
KRX_API_KEY없이도 조회 가능하다는 점을 유지했다. - KRX 공식 데이터 기준임을 짧게 남겼다.
Notes
- 원본 참고:
https://github.com/jjlabsio/korea-stock-mcp - 공식 데이터 출처: KRX Open API (
https://openapi.krx.co.kr/contents/OPP/MAIN/main/index.cmd) - 이 스킬은 read-only 조회 전용이다.
Related skills
More from nomadamas/k-skill and the wider catalog.

korean-transit-route
Korean door-to-door public transit routing (subway + bus + walking) via ODsay LIVE API with Kakao geocoding for address-to-address queries. Use when the user asks for 지하철/버스/대중교통 길찾기, 환승 경로, 소요시간, or transit directions between two places in Korea.

kosis-stats
국가데이터처가 운영하는 KOSIS(국가통계포털, kosis.kr) Open API로 한국 공식 통계표를 검색하고 메타데이터·데이터·대용량 자료를 조회한다. Use when the user asks for 한국 공식 통계 (인구, 가구, 물가, 고용 등) 수치 조회, not for analysis or visualization.

kstartup-search
공공데이터포털 창업진흥원 K-Startup Open API(15125364)로 통합 공고 사업 정보·지원사업 공고·창업 콘텐츠·통계보고서를 k-skill-proxy 경유로 조회한다. 검색 전용.

ktx-booking
Search, reserve, inspect, and cancel KTX/Korail train tickets in Korea with anti-bot handling.

lck-analytics
Query LCK match results, standings, live stats, and advanced analysis using Riot official data and Oracle's Elixir-style historical records.

lh-notice-search
Search official LH Korea Land & Housing Corporation lease/subscription notices from apply.lh.or.kr