
traderspost/pine-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
このプロジェクトでは、Claude のような AI ツールは、Pine Script 関数を調べて、TradeView のドキュメントを検索し、コード例を見つけ、ガイドを参照することができます.
概要
このプロジェクトでは、Claude のような AI ツールは、Pine Script 関数を調べて、TradeView のドキュメントを検索し、コード例を見つけ、ガイドを参照することができます。 より幻覚された関数や古い v5 の構文はありません。 あなたがClaudeにTradeViewインジケータや戦略を書くのを助けるように依頼すると、常に正しいPine Script v6の構文を知りません。 このサーバーは、直接Claudeに接続し、- 457関数、427変数、およびフルユーザガイドへのアクセスを提供します。そのため、推測の代わりに物事を調べることができます。 外部ツールやデータへのアクセスをAIアシスタントにするための標準的な方法です。 MCP を理解する必要はありません。インストール手順に従ってください。 nodejs.org からダウンロード — LTS (Long Term Support) バージョンをつかみましょう。 インストーラーはそれを歩くでしょう。 既に持っているかどうかを確認するには、ターミナルとタイプを開きます。 v18.0.0 以上を見ると良いでしょう.
概要(AI 翻訳)
AIアシスタントエキスパートレベルのパインスクリプトの知識を身につけてください。
このプロジェクトでは、Claude のような AI ツールは、Pine Script 関数を調べて、TradeView のドキュメントを検索し、コード例を見つけ、ガイドを参照することができます。 より幻覚された関数や古い v5 の構文はありません。
###実際にどういう意味ですか?
あなたがClaudeにTradeViewインジケータや戦略を書くのを助けるように依頼すると、常に正しいPine Script v6の構文を知りません。 このサーバーは、Claude に直接接続し、complete Pine Script v6 参照 — 457 関数、427 変数、フルユーザガイド — にアクセスできます。
外部ツールやデータへのアクセスをAIアシスタントにするための標準的な方法です。 MCP を理解する必要はありません。インストール手順に従ってください。
お問い合わせ
前提条件
コンピューターにインストールされている**Node.jsバージョン18以上が必要です。
Node.jsがない? nodejs.org からダウンロード — LTS (Long Term Support) バージョンをつかみましょう。 インストーラーはそれを歩くでしょう。
既に持っているかどうかを確認するには、ターミナルとタイプを開きます
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Pine Script MCP Server
Give your AI assistant expert-level Pine Script knowledge.
This project lets AI tools like Claude look up any Pine Script function, search TradingView documentation, find code examples, and browse guides — all in real time while you chat. No more hallucinated functions or outdated v5 syntax.
What does that actually mean?
When you ask Claude to help you write a TradingView indicator or strategy, it doesn’t always know the correct Pine Script v6 syntax. This server plugs directly into Claude and gives it access to the complete Pine Script v6 reference — 457 functions, 427 variables, and the full user guide — so it can look things up instead of guessing.
It uses something called MCP (Model Context Protocol), which is a standard way to give AI assistants access to external tools and data. You don’t need to understand MCP to use this — just follow the install steps below.
Prerequisites
You need Node.js version 18 or higher installed on your computer.
Don’t have Node.js? Download it from nodejs.org — grab the LTS (Long Term Support) version. The installer will walk you through it.
To check if you already have it, open a terminal and type:
node --version
If you see v18.0.0 or higher, you’re good to go.
Installation
Pick the method that matches how you use Claude:
Option A: Claude Code (one command)
If you use Claude Code in your terminal, just run:
claude mcp add pinescript -- npx -y pinescript-mcp-server
That’s it. Next time you start a Claude Code session, it will have Pine Script tools available.
Option B: Claude Desktop App
- Open the Claude desktop app
- Go to Settings (click Claude in the menu bar > Settings)
- Click the Developer tab
- Click Edit Config
- This opens a JSON file. Add the following (if the file is empty, paste the whole thing; if it already has content, add the
pinescriptentry inside the existingmcpServersobject):
{
"mcpServers": {
"pinescript": {
"command": "npx",
"args": ["-y", "pinescript-mcp-server"]
}
}
}
- Save the file
- Completely quit and restart Claude Desktop (not just close the window — fully quit from the menu bar)
When it restarts, you should see a small tool icon in the chat input area. Click it to confirm the Pine Script tools are listed.
Option C: Any Other MCP-Compatible Tool
If you’re using another tool that supports MCP servers (like Cursor, Windsurf, etc.), point it at:
npx -y pinescript-mcp-server
using the stdio transport. Check your tool’s documentation for how to add MCP servers.
インストール
npx -y pinescript-mcp-server設定
{
"mcpServers": {
"pinescript": {
"command": "npx",
"args": ["-y", "pinescript-mcp-server"]
}
}
}