Market Detective MCP
by Murtaza8-bit
README.md
# ๐ต๏ธ Market Detective
> **Investigate the move. Find the signal. Trace the evidence.**
Market Detective is a **read-only AI market intelligence agent** that investigates unusual activity across crypto markets and explains what is happening using multiple market signals.
## โจ Features
### ๐ Asset Investigation
Enter any supported asset and get a detailed investigation of its current market behavior.
### ๐จ Market Anomaly Detection
Identify assets experiencing unusual activity and rank them using an anomaly score.
### ๐ Multi-Signal Analysis
Market Detective combines:
* ๐ Price movement
* ๐ Trading volume
* ๐ช๏ธ Volatility
* โ๏ธ Order-book imbalance
* ๐ Market correlation
to determine whether a move is ordinary or unusual.
### ๐งช Market Autopsy
Investigate a major move and see the evidence behind it, including the sequence of signals that appeared.
### ๐ Evidence Timeline
Follow how an event developed over time, from the initial signal to the final investigation result.
### ๐ง Explainable Insights
Instead of only displaying charts and numbers, the agent explains **why** an asset was flagged and what signals contributed to the result.
### ๐ Market Scanner
Scan multiple markets and quickly identify the assets with the strongest abnormal activity.
### ๐ป Interactive React Dashboard
A modern React-based interface designed around investigation rather than traditional trading dashboards.
---
## ๐ Binance Agent OS Integration
Market Detective follows the **Binance Agent OS + MCP architecture pattern**.
It does not require users to provide Binance API keys or connect a wallet.
The MCP-capable host connects to Binance Agent OS:
```text
https://agent.binance.com/mcp/agentic
```
Binance Agent OS provides the market data through its MCP tools, which is then handed to Market Detective for analysis.
```text
Binance Agent OS
โ
Binance MCP
โ
Market Data
โ
Market Detective MCP
โ
Forensic Analysis
โ
Investigation Results
โ
React Dashboard
```
This separation keeps **authentication and data access with the Agent OS host**, while Market Detective focuses on **analysis, anomaly detection, and explanation**.
---
## ๐ก๏ธ Read-Only by Design
Market Detective is focused entirely on market intelligence.
โ
Read-only
โ
No wallet connection
โ
No API-key onboarding
โ
No trading or order execution
โ
No transfers
โ
No deposits or withdrawals
โ
No account management
---
## ๐ ๏ธ Built With
โ๏ธ React
โก Vite
๐ข Node.js
๐ MCP
๐ค Binance Agent OS
๐ Market Analytics
---
## ๐ Getting Started
```bash
npm install
npm test
npm run build
```
Start the backend:
```bash
npm run server
```
Start the frontend:
```bash
npm run dev
```
Then open the local Vite URL in your browser.
---
## ๐ฏ Vision
Market Detective is built around a simple idea:
> **Don't just watch the market. Investigate it.**