Server data from the Official MCP Registry
Create annotated candlestick charts from broker or exchange fills for post-trade review.
Create annotated candlestick charts from broker or exchange fills for post-trade review.
Valid MCP server (4 strong, 3 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
8 files analyzed · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: KLINE_AGENT_API_KEY
From the project's GitHub README.
Turn broker or exchange fills into annotated candlestick review-chart PNGs. AI agents can discover capabilities, validate a request without spending chart quota, and render the finished chart through three MCP tools.
KLinePic is for post-trade review and visualization. It does not provide trading signals, price predictions, investment advice, or order execution.
| Tool | What it does | Quota impact |
|---|---|---|
klinepic_get_capabilities | Checks API-key permissions, plan limits, remaining quota, and supported endpoints. | None |
klinepic_preflight_review_chart | Validates fills, K-line data, scopes, and estimated cost before rendering. | None |
klinepic_create_review_chart | Returns an annotated candlestick PNG as native MCP image content. | Uses one chart render |
The repository also includes:
Last verified on 2026-07-13 against the current source and the live KLinePic API:
| Check | Result | What was proved |
|---|---|---|
| API adapter tests | PASS — 4/4 | Bearer authentication, forced review-chart mode, PNG-to-base64 conversion, and structured error handling. |
| Real MCP stdio handshake | PASS — 3 tools | A real MCP client completed initialization and discovered all three tool schemas. |
| Live production capabilities | PASS | The MCP server called the production capability endpoint with a scoped Agent API key. |
| Live production preflight | PASS | The sample request passed production validation without rendering a chart or consuming chart quota. |
| Container build | PASS in CI | GitHub Actions builds the Docker image from a clean checkout. |
Reproduce the local checks:
npm ci
npm test
Run the live, no-charge check with your own key:
KLINE_AGENT_API_KEY=kline_agent_xxx npm run test:production-preflight
The live check calls capabilities and preflight only. It does not call the paid render tool.
Requirements:
Run directly from GitHub:
KLINE_AGENT_API_KEY=kline_agent_xxx \
npx -y github:sher1096/klinepic-agent-api-examples
Or clone the repository:
git clone https://github.com/sher1096/klinepic-agent-api-examples.git
cd klinepic-agent-api-examples
npm ci
KLINE_AGENT_API_KEY=kline_agent_xxx npm start
Most macOS and Linux clients can run the GitHub package directly:
{
"mcpServers": {
"klinepic": {
"command": "npx",
"args": [
"-y",
"github:sher1096/klinepic-agent-api-examples"
],
"env": {
"KLINE_AGENT_API_KEY": "kline_agent_xxx"
}
}
}
}
Some Windows clients need cmd.exe to resolve npx.cmd:
{
"mcpServers": {
"klinepic": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"github:sher1096/klinepic-agent-api-examples"
],
"env": {
"KLINE_AGENT_API_KEY": "kline_agent_xxx"
}
}
}
}
Keep the key in the client environment or secret store. Do not commit it.
Run the published image:
docker run --rm -i \
-e KLINE_AGENT_API_KEY=kline_agent_xxx \
ghcr.io/sher1096/klinepic-mcp-server:0.1.0
Or build it locally:
docker build -t klinepic-mcp .
docker run --rm -i \
-e KLINE_AGENT_API_KEY=kline_agent_xxx \
klinepic-mcp
The container can start without a key so a registry can inspect its tool schemas. API calls still require a valid key.
klinepic_get_capabilities.klinepic_preflight_review_chart.klinepic_create_review_chart and return the PNG.Preflight first: it catches malformed CSV, unsupported sources, missing scopes, IP restrictions, plan state, and quota limits without rendering.
| File | Use case |
|---|---|
review-chart-request.json | Complete request for preflight or rendering |
broker-trades-template.csv | Generic broker exports |
binance-trade-history-template.csv | Binance trade history |
us-stock-trading-journal-template.csv | US-stock journals |
futures-trade-review-template.csv | Futures reviews |
metatrader-trade-history-template.csv | MetaTrader 4/5 history |
Run the standalone no-charge example:
KLINE_AGENT_API_KEY=kline_agent_xxx node examples/preflight.mjs
KLINE_AGENT_API_KEY is required — create a key and pass it through the MCP client's environment.npx — use the cmd /c npx configuration above.https://klinepic.com unless KLINEPIC_BASE_URL is explicitly overridden.The MCP adapter and examples in this repository are available under the MIT License. The hosted KLinePic API is a separate service governed by its published terms and privacy policy.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.