Jeric1223

Tossinvest MCP — Development skill for Claude Code

Development community

Claude에서 토스증권 계좌로 국내·미국 주식을 조회하고 주문하는 MCP 서버 · Toss Securities MCP server for Korean and US stocks.

How to install Tossinvest MCP

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Jeric1223/tossinvest-mcp and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tossinvest MCP does

Claude에서 토스증권 계좌로 국내·미국 주식을 조회하고 주문하는 MCP 서버 · Toss Securities MCP server for Korean and US stocks.

Alternatives in Development

  • Mempalace Init — Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify e 58.6k ★
  • Claude Context Mode — An MCP server that sits between Claude Code and these outputs 5.3k ★
  • Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★

README

토스증권 MCP 서버 (tossinvest-mcp)

[English](README.en.md)

**Claude에서 토스증권 계좌로 국내·미국 주식을 조회하고 주문할 수 있게 해주는 [Model Context Protocol (MCP)](https://modelcontextprotocol.io) 서버입니다.** [토스증권 Open API](https://developers.tossinvest.com)를 사용해 주식 시세·호가· 체결·차트·투자자 수급·보유 종목·주문 가능 금액·환율을 조회하고, 사용자 확인 절차를 거쳐 일반 주문과 SINGLE·OCO·OTO 조건주문을 등록합니다. Claude Code, Claude Desktop 등 MCP를 지원하는 AI 클라이언트에서 바로 사용할 수 있습니다.

toss client key 생성 : https://corp.tossinvest.com/ko/open-api

Claude Code에서 사용하기

이 패키지가 npm에 배포된 뒤에는 저장소를 clone할 필요가 없습니다. Claude Code를 사용할 프로젝트의 `.mcp.json`에 아래 내용을 추가하세요.

{
  "mcpServers": {
    "toss": {
      "command": "npx",
      "args": ["-y", "@soehd0889/tossinvest-mcp"],
      "env": {
        "TOSS_CLIENT_ID": "토스_클라이언트_ID",
        "TOSS_CLIENT_SECRET": "토스_클라이언트_시크릿"
      }
    }
  }
}

토스증권 Open API 개발자 콘솔에서 `TOSS_CLIENT_ID`와 `TOSS_CLIENT_SECRET`을 발급받아 입력한 뒤 Claude Code를 재시작하세요. 자격 증명은 Git에 커밋하거나 프롬프트에 공유하면 안 됩니다.

`npx`는 첫 실행 때 패키지를 내려받고 이후에는 캐시를 사용합니다. Node.js 18 이상이 필요합니다.

제공 도구

도구 설명
toss_get_price 한국·미국 주식의 현재가 조회
toss_resolve_symbol 회사 이름을 티커 또는 국내 종목 코드로 변환
toss_get_holdings 보유 종목과 손익 조회
toss_get_buying_power 원화 또는 달러 주문 가능 금액 조회
toss_get_exchange_rate 환율 조회 (기본: USD → KRW)
toss_get_candles 1분봉 또는 일봉 OHLCV 조회
toss_get_orderbook / toss_get_recent_trades 실시간 호가와 최근 체결 조회
toss_get_market_calendar 한국·미국 장 운영 시간 및 휴장일 조회
toss_get_stock_warnings 투자 유의사항·거래 경고 조회
toss_get_stock_investor_trading / toss_get_short_selling 국내 종목 투자자 수급·공매도 동향 조회
toss_get_rankings 거래대금·거래량·상승·하락 종목 랭킹 조회
toss_get_market_indicator_prices / toss_get_market_indicator_candles 지수·시장 지표의 현재가와 캔들 조회
toss_get_market_investor_trading 코스피·코스닥 투자자별 매매대금 조회
toss_prepare_order 주식 주문을 검증·미리보기만 함 (실주문 없음)
toss_prepare_conditional_order SINGLE·OCO·OTO 조건주문을 검증·미리보기
toss_submit_prepared_order 사용자 확인을 거친 일회용 주문을 제출

주문 안