{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_uy8y2pnus4qd","handle":"mdd-stock-mcp","url":"https://wellknown.network/agents/mdd-stock-mcp","links":{"self":"https://wellknown.network/agents/mdd-stock-mcp/record.json","html":"https://wellknown.network/agents/mdd-stock-mcp","markdown":"https://wellknown.network/agents/mdd-stock-mcp/record.md","api":"https://wellknown.network/api/v1/agents/mdd-stock-mcp","status":"https://wellknown.network/api/v1/agents/mdd-stock-mcp/status","claim":"https://wellknown.network/agents/mdd-stock-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mdd-stock-mcp/claim.json","badge":"https://wellknown.network/agents/mdd-stock-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mdd-stock-mcp/history","tools":"https://wellknown.network/api/v1/agents/mdd-stock-mcp/tools"},"ard":{"identifier":"urn:air::server:mdd-stock-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mdd-stock-mcp","summary":"MCP server for US stock Maximum Drawdown analytics","description":"# mdd-stock-mcp\n\n> An MCP server for Maximum Drawdown (MDD) analytics across US stocks, Korean stocks (KOSPI/KOSDAQ), and cryptocurrencies. Plug it into Claude Desktop and ask questions like \"What was SPY's worst drawdown during COVID?\" or \"비트코인 2022년 MDD 알려줘\" — Claude will fetch the data and discuss it conversationally.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python >=3.11](https://img.shields.io/badge/python-%3E%3D3.11-blue.svg)](https://www.python.org/)\n[![MCP Compatible](https://img.shields.io/badge/MCP-compatible-green.svg)](https://modelcontextprotocol.io/)\n\n> **Disclaimer**: This project uses [yfinance](https://github.com/ranaroussi/yfinance), an unofficial Yahoo Finance scraper. Not affiliated with Yahoo, not for production trading systems, not for financial advice. Data may be inaccurate, delayed, or unavailable. Use at your own risk.\n\n---\n\n## What it does\n\n- Calculates Maximum Drawdown for any supported asset over a date range\n- Returns OHLCV price history for plotting\n- Returns a daily drawdown (underwater) series\n- Compares MDD across multiple tickers side-by-side\n\n**Supported markets** (via the `market` parameter):\n\n| `market` | Examples | Notes |\n|---|---|---|\n| `us` (default) | `AAPL`, `SPY`, `QQQ` | NYSE / NASDAQ |\n| `kr` | `005930` → `005930.KS` (Samsung), `035720.KQ` (KOSDAQ) | 6-digit codes auto-append `.KS` (KOSPI). Use explicit `.KQ` for KOSDAQ. |\n| `crypto` | `BTC` → `BTC-USD`, `ETH-USD`, `BTC-KRW` | Bare symbols auto-append `-USD`. |\n\n---\n\n## Quickstart (Claude Desktop)\n\n**1. Clone the repo:**\n\n```bash\ngit clone https://github.com/librarywon/mdd-stock-mcp.git\ncd mdd-stock-mcp\n```\n\n**2. Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:**\n\n```json\n{\n  \"mcpServers\": {\n    \"mdd-stock-mcp\": {\n      \"command\": \"uvx\",\n      \"args\": [\"--from\", \"/absolute/path/to/mdd-stock-mcp\", \"mdd-stock-mcp\"]\n    }\n  }\n}\n```\n\nReplace `/absolute/path/to/mdd-stock-mcp` wit…","publisher":{"name":"librarywon","url":null},"homepage":"https://github.com/librarywon/mdd-stock-mcp","repository":"https://github.com/librarywon/mdd-stock-mcp","version":"0.1.0","license":"MIT","protocols":["mcp"],"tags":["claude","drawdown","finance","mcp","mdd","model-context-protocol","stocks","yfinance"],"pricing":null,"endpoints":[{"url":"pypi:mdd-stock-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"finance.markets","name":"Markets & Trading","confidence":1,"provenance":"declared"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["dev","finance"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mdd-stock-mcp","registry":"pypi","observedAt":"2026-11-03T17:26:03.899Z","publishedAt":"2026-05-30T11:50:02.542832Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mdd-stock-mcp","url":"https://pypi.org/project/mdd-stock-mcp/","firstSeenAt":"2026-09-10T05:22:28.400Z","fetchedAt":"2026-11-03T17:24:51.791Z","normalizedAt":"2026-11-03T17:24:51.791Z"}]},"firstSeenAt":"2026-09-10T05:22:28.400Z","updatedAt":"2026-11-03T17:26:03.899Z"}