dflow MCPサーバー
✓ 公式イベント、マーケット、取引履歴、およびリアルタイムの予測分析を含むKalshiの予測市場データにアクセスできます。
別名 openSVM/dflow-mcp
- スター
- 7
- ツール
- 23
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2025年12月2日
- ライセンス
- Unlicense
dflow MCPとは
イベント、マーケット、取引履歴、およびリアルタイムの予測分析を含むKalshiの予測市場データにアクセスできます。 23個のツールを提供しており、get_event, get_events, get_marketなどがあります。
プロジェクトのREADMEから生成された概要
dflow MCP server について
このツールを使用すると、AIクライアント内からKalshiの予測市場のトレンドやリアルタイムの予測分析を分析できます。開発者は、23種類の専用ツールを使用して、現実世界のイベント取引を行うためのCFTC規制を受けた最初の取引所と対話できます。これらのツールにより、イベントとマーケットの両方に関するイベントメタデータ、マーケットの詳細、取引履歴、およびローソク足データへのアクセスが可能になります。
ユーザーは、Smitheryを使用してClaude Desktop向けに自動設定を行うか、BunまたはNode.jsを使用して手動でインストールすることで、システムをローカルにセットアップできます。stdioトランスポートを介して動作し、CursorやContinueなどのさまざまなクライアントと互換性があります。予測パーセンタイル履歴の取得、タイトルによる特定のイベントの検索、ライブマイルストーンデータの取得など、複雑なクエリを実行できます。
できること
- 1特定の予測イベントの検索キーワードを使用して、今後の選挙やその他のイベントを検索するようAIに指示できます。
- 2予測パーセンタイルの変化の追跡AIクライアントが過去の予測データを取得し、市場のセンチメントが時間の経過とともにどのように変化したかを確認できます。
- 3最近の取引活動の確認特定のマーケットの取引履歴を取得して、最近の取引量を確認できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
dflow MCPツール 23
READMEから検出get_eventget_eventsget_marketget_market_by_mintget_marketsget_markets_batchget_tradesget_trades_by_mintget_forecast_percentile_historyget_forecast_percentile_history_by_mintget_event_candlesticksget_market_candlesticks
| get_event | — | |
| get_events | — | |
| get_market | — | |
| get_market_by_mint | — | |
| get_markets | — | |
| get_markets_batch | — | |
| get_trades | — | |
| get_trades_by_mint | — | |
| get_forecast_percentile_history | — | |
| get_forecast_percentile_history_by_mint | — | |
| get_event_candlesticks | — | |
| get_market_candlesticks | — |
23個のツールをすべて表示ツールを折りたたむ
get_market_candlesticks_by_mintget_live_dataget_live_data_by_eventget_live_data_by_mintget_seriesget_series_by_tickerget_outcome_mintsfilter_outcome_mintsget_tags_by_categoriesget_filters_by_sportssearch_events
| get_market_candlesticks_by_mint | — | |
| get_live_data | — | |
| get_live_data_by_event | — | |
| get_live_data_by_mint | — | |
| get_series | — | |
| get_series_by_ticker | — | |
| get_outcome_mints | — | |
| filter_outcome_mints | — | |
| get_tags_by_categories | — | |
| get_filters_by_sports | — | |
| search_events | — |
自動チェック
実行日 2026年11月15日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能opensvm/dflow-mcp is public and reachablegithub.com/opensvm/dflow-mcp ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)Unlicensespdx.org/licenses/Unlicense.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2025-12-02github.com/opensvm/dflow-mcp ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない23 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされているNo tool named like delete, drop or exec合格
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るDFlow MCP Server
Access Kalshi prediction market data - the first CFTC-regulated exchange for trading on real-world events. Built by OpenSVM. 23 tools for events, markets, trades, forecasts, candlesticks and live data.
Demo: https://dflow.opensvm.com
Features
This MCP server provides access to the complete Prediction Market Metadata API including:
- Event Management: Get events, search events, retrieve event metadata
- Market Data: Market information, batch queries, market lookups by mint
- Trading Data: Trade history, trades by market, pagination support
- Forecast Analytics: Forecast percentile history, time series data
- Candlestick Data: OHLC data for events and markets
- Live Data: Real-time data feeds, milestone information
- Series Information: Series templates, categories, and metadata
- Utility Functions: Outcome mint queries, filtering, and search capability
Installation
Method 1: Install via Smithery (Recommended)
The easiest way to install this MCP server is through Smithery:
npx @smithery/cli install dflow-mcp-server --client claude
This will automatically configure the server for use with Claude Desktop.
Method 2: Manual Installation
Prerequisites
- Bun (recommended) or Node.js 18+
Install Dependencies
bun install
Usage
Starting the Server
# Development mode (with hot reload)
bun run dev
# Production mode
bun start
# Or directly with Bun
bun run src/index.ts
The server uses stdio transport for MCP communication, which is the standard for MCP clients.
Integration with MCP Clients
Claude Desktop
If you installed via Smithery, the configuration is automatic. For manual setup, add this to your Claude Desktop config:
{
"mcpServers": {
"dflow-mcp": {
"command": "bun",
"args": ["run", "/path/to/dflow-mcp/src/index.ts"]
}
}
}
Other MCP Clients
This server is compatible with any MCP client (Cursor, Continue, etc.). Use the same configuration format as above.
Available Tools
Event Tools
get_event- Get a single event by tickerget_events- Get paginated list of all events
Market Tools
get_market- Get market details by tickerget_market_by_mint- Get market by mint addressget_markets- Get paginated list of marketsget_markets_batch- Get multiple markets (up to 100)
Trade Tools
get_trades- Get trades across marketsget_trades_by_mint- Get trades for specific market
Analytics Tools
get_forecast_percentile_history- Get forecast historyget_forecast_percentile_history_by_mint- Forecast history by mintget_event_candlesticks- Event candlestick dataget_market_candlesticks- Market candlestick dataget_market_candlesticks_by_mint- Candlesticks by mint
Live Data Tools
get_live_data- Get live data for milestonesget_live_data_by_event- Live data for eventget_live_data_by_mint- Live data by mint
Series Tools
get_series- Get all series templatesget_series_by_ticker- Get specific series
Utility Tools
get_outcome_mints- Get outcome mint addressesfilter_outcome_mints- Filter addresses to outcome mintsget_tags_by_categories- Get category-tag mappingget_filters_by_sports- Get sports filtering optionssearch_events- Search events by title/ticker
Example Tool Calls
Get a specific event
{
"tool": "get_event",
"arguments": {
"event_id": "US-PRESIDENT-2024",
"withNestedMarkets": true
}
}
Get market by mint address
{
"tool": "get_market_by_mint",
"arguments": {
"mint_address": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
}
}
Get forecast history
{
"tool": "get_forecast_percentile_history",
"arguments": {
"series_ticker": "US-PRESIDENT",
"event_id": "US-PRESIDENT-2024",
"percentiles": "25,50,75",
"startTs": 1704067200,
"endTs": 1706745600,
"periodInterval": 3600
}
}
Search events
{
"tool": "search_events",
"arguments": {
"q": "election",
"limit": 10,
"sort": "volume",
"order": "desc"
}
}
Development
Project Structure
dflow-mcp/
├── src/
│ └── index.ts # Main server implementation
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── llms_dflow.json # API specification
└── README.md # This file
Building
bun run build
Testing
bun run test
API Details
The server implements the complete REST API defined in llms_dflow.json with the following base URL:
https://prediction-markets-api.dflow.net
All tools include comprehensive parameter validation and type definitions. Error handling returns informative messages for debugging.
Publishing to Smithery
This server is configured for publication on Smithery, the MCP server registry.
Configuration Files
smithery.yaml- Defines the runtime (TypeScript) and target (local)package.json- Includes module entry point and Smithery CLI scripts
To Publish
- Ensure your code is pushed to a public GitHub repository
- Visit smithery.ai/new
- Connect your GitHub repository
- Smithery will automatically detect the
smithery.yamlconfiguration
Once published, users can install your server with:
npx @smithery/cli install dflow-mcp-server --client claude
License
MIT License - See LICENSE file for details.
OpenSVM × Kalshi × DFlow
dflow MCPのよくある質問
dflow MCPが提供するツールは
23個のツールを提供しており、get_event, get_events, get_market, get_market_by_mint, get_marketsなどがあります。
このMCP serverではどのようなデータにアクセスできますか?
イベント管理ツール、マーケット情報、取引履歴、予測分析、ローソク足データ、およびリアルタイムのライブデータフィードにアクセスできます。
このサーバーはCursorやContinueと互換性がありますか?
はい、このサーバーはCursorやContinueを含むすべてのMCPクライアントと互換性があります。