toss-invest
Enables interaction with Toss Securities API for market data, stock information, account details, and order management.
README
Toss Invest MCP Server
토스증권 Open API를 위한 MCP (Model Context Protocol) 서버입니다.
요구사항
- Node.js 18+
- 토스증권 WTS에서 발급받은
client_id,client_secret
설치 및 빌드
npm install
npm run build
환경변수
| 변수명 | 설명 | 필수 |
|---|---|---|
TOSS_CLIENT_ID |
토스증권 Open API Client ID | ✅ |
TOSS_CLIENT_SECRET |
토스증권 Open API Client Secret | ✅ |
Claude Desktop 설정
~/.claude/claude_desktop_config.json (또는 Claude Desktop > 설정 > MCP):
{
"mcpServers": {
"toss-invest": {
"command": "node",
"args": ["/Volumes/data/Github/stock-toss-mcp/dist/index.js"],
"env": {
"TOSS_CLIENT_ID": "여기에_client_id",
"TOSS_CLIENT_SECRET": "여기에_client_secret"
}
}
}
}
제공 도구
시장 데이터
| 도구 | 설명 |
|---|---|
toss_get_orderbook |
호가 조회 |
toss_get_prices |
현재가 조회 (최대 200개 종목) |
toss_get_trades |
최근 체결 내역 조회 |
toss_get_price_limits |
상/하한가 조회 |
toss_get_candles |
캔들 차트 조회 (1분봉/일봉) |
종목 정보
| 도구 | 설명 |
|---|---|
toss_get_stocks |
종목 기본 정보 조회 (최대 200개) |
toss_get_stock_warnings |
종목 매수 유의사항 조회 |
시장 정보
| 도구 | 설명 |
|---|---|
toss_get_exchange_rate |
KRW↔USD 환율 조회 |
toss_get_kr_market_calendar |
국내 장 운영 시간 조회 |
toss_get_us_market_calendar |
미국 장 운영 시간 조회 |
계좌 및 자산
| 도구 | 설명 |
|---|---|
toss_get_accounts |
계좌 목록 조회 |
toss_get_holdings |
보유 주식 조회 |
toss_get_buying_power |
매수 가능 금액 조회 |
toss_get_sellable_quantity |
판매 가능 수량 조회 |
toss_get_commissions |
매매 수수료 조회 |
주문 (⚠️ 실거래)
| 도구 | 설명 |
|---|---|
toss_get_orders |
주문 목록 조회 |
toss_get_order |
주문 상세 조회 |
toss_create_order |
주문 생성 (실거래) |
toss_modify_order |
주문 정정 (실거래) |
toss_cancel_order |
주문 취소 (실거래) |
⚠️
toss_create_order,toss_modify_order,toss_cancel_order는 실제 계좌에서 거래가 발생합니다.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.