BACK TO CLAUDE SKILLS
◈
mcp_screenshot_chart
MCP IntegrationMCPVision
INSTALLATION
$python -c "exec(open('mcp_screenshot_chart.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]
Captures a PNG screenshot of the active TradingView chart window via MCP and returns the image as a base64-encoded string. The encoded image is structured in the Anthropic API's `image` content block format so it can be passed directly to `claude.messages.create` for vision-based analysis without any intermediate file I/O.
Most effective when used together with `mcp_add_indicator` — first render the chart in a known state (e.g. EMA + RSI), then screenshot and pass to Claude for pattern recognition tasks that benefit from visual context rather than raw numerical data, such as trend line detection or chart pattern classification.
[ USAGE EXAMPLE ]
[ FULL CODE ]
[ METADATA ]
CategoryMCP Integration
ComplexityIntermediate
LanguagePython 3.10+
TagsMCP, Vision
[ ASK CLAUDE ]
Ask AI about this skill before installing it.