Market Inspector
Provides cryptocurrency price data as a fallback source when CoinGecko is rate-limited.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Market Inspectorshow me today's crypto and equity brief"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Market Inspector
Market Inspector is a multi-asset market intelligence workflow built with Next.js 16, the Model Context Protocol (MCP), and Gemini 2.5 Flash. It monitors cryptocurrency movements, combines them with current equity data and ECB foreign-exchange reference rates, and produces structured market briefs.
The project was created for the Google × Kaggle AI Agents Intensive capstone, in the Agents for Business track.
System overview
Market Inspector exposes 11 MCP tools:
4 cryptocurrency tools
3 equity tools
3 foreign-exchange tools
1 zero-cost system status tool
Three coordinated roles divide the workflow:
Role | Responsibility |
Anomaly Detector | Scans the top cryptocurrency assets and classifies significant 24-hour movements. |
Orchestrator | Serializes scans, stores the latest in-memory state, and publishes updates through Server-Sent Events. |
Brief Generator | Provides Gemini with a seven-result market snapshot and eight optional MCP tools for additional context. |
Market-data fallbacks:
Crypto price: CoinGecko → Binance when CoinGecko is rate-limited.
Crypto global data and top movers: CoinGecko → CoinPaprika.
Equity quotes and candles: Finnhub → Alpha Vantage → Yahoo Finance.
Foreign exchange: Frankfurter using ECB reference rates.
Related MCP server: zipp-mcp
Asset coverage
Asset class | Dashboard | Automatic anomaly detection | Gemini snapshot |
Cryptocurrency | Global metrics, top movers, ticker | Yes, every 60 seconds | Global market and top 10 assets |
Equities | Six large-cap technology quotes and ticker | No | AAPL, MSFT, NVDA, GOOGL |
Foreign exchange | Seven USD reference rates | No | USD against EUR, GBP, JPY, CHF |
Quick start
Requirements:
Node.js 22.x
pnpm 10.34.4
git clone https://github.com/dcosodev/market-inspector.git
cd market-inspector
corepack enable
pnpm install --frozen-lockfile
cp .env.local.example .env.local
pnpm devThe application is available at http://localhost:3000.
Environment variables
Variable | Purpose | Required |
| Manual AI briefs and the chat endpoint | For Gemini features |
| Primary equity source | Recommended |
| Secondary equity fallback | Optional |
| Structured JSON logging threshold | Optional ( |
Yahoo Finance provides the final no-key equity fallback. CoinGecko, CoinPaprika, Binance, and Frankfurter also require no key.
Main routes
Route | Purpose |
| Project overview |
| Market dashboard and architecture view |
| MCP Streamable HTTP endpoint |
| Current state and manual AI scan stream |
| Continuous anomaly-state SSE stream |
| Gemini chat backed by the MCP tool catalog |
| Zero-cost service health response; no external API calls |
Agent workflow
The deterministic detector scans cryptocurrency movements without calling Gemini.
A manual AI scan refreshes anomalies and preloads seven market-data results.
Gemini receives the snapshot and can request one or more of eight selected MCP tools when additional context is needed.
Execution progress, requested tools, and the final informational brief are streamed to the dashboard.
Source-level rate limits, caching, circuit breaking, and fallbacks reduce the effect of upstream failures.
The dashboard stores a four-scan daily demonstration quota in localStorage. Each notable-anomaly scan uses one to five Gemini requests, so the visible worst-case budget is twenty calls. This deliberately lightweight control conserves the demo allowance; it is not authentication, billing enforcement, or a server-side limit.
Generated briefs are informational only and are not personalized financial advice. Provider data, tool output, and user text are delimited as untrusted model context.
Verification
pnpm lint
pnpm typecheck
pnpm test
pnpm build
pnpm exec playwright install chromium
pnpm test:e2eGemini evaluation is manual and never runs in CI:
RUN_GEMINI_EVALS=1 EVAL_CASE=broad-crypto-selloff pnpm eval:geminiDocumentation
Deployment
The repository includes a Vercel configuration for the Frankfurt region. Configure the required environment variables in the deployment platform; API keys must not be committed to the repository.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dcosodev/market-inspector'
If you have feedback or need assistance with the MCP directory API, please join our Discord server