sip-advisor-mcp
Market-Aware SIP Timing Advisor — FastMCP (taller)
Un servidor MCP Python de ~180 líneas que convierte los datos en vivo del índic NSE en una recomendación de aument / pausa de SIP. Creado para el seminario web de mfAPIs × SunitechAI.
Diseño: el servidor no posee datis. Las filas brutas de PE y OHLC del NIFTY 50 provienen de la API REST de MF Engine; la lógica de percentil de valoration, tendencia de precio y reglas de SIP vive aquí en Python. Esa división es la parte didáctica.
Herramienta | Qué hace |
| PE actual + percentil + z-score frente al historial de 10 años → barato / razonable / caro |
| DMA50/200, distancia desde el máximo/mínimo de 52 semanas, rentabilidades a 1/3/6 meses → tendencia alcista / lateral / bajista |
| banda (+ tendencia) → pausar / continuar / step_up + nuevo importe sugerido |
Configuración
cd workshop/sip-advisor-mcp
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # then paste MFAPI_TOKENMFAPI_TOKEN es un access-token JWT para un usuário socio / inversor / administrador. Obtenlo de la sesión de navegador de zinni-app (DevTools → Application → Local Storage, o la pestaña Networ k) o de una llamada a la API de inicio de sesión. No es el token estático de MCP: los endpoints REST usan la autenticación normal de usuário.
Related MCP server: Upstox MCP Server
Ejecutar
# stdio — for Claude Desktop
python server.py
# HTTP — for ChatGPT developer mode / remote clients (serves :8000/mcp)
MCP_TRANSPORT=http python server.pyComprobación rápida sin un LLM:
pip install fastmcp # includes the CLI
fastmcp run server.py --transport http &
npx @modelcontextprotocol/inspector # connect to http://localhost:8000/mcpConectar con Claude
Claude Desktop — fusiona claude_desktop_config.example.json en ~/Library/Application Support/Claude/claude_desktop_config.json (corrige la ruta absoluta + token) y reinicia Claude Desktop.
Claude Code
claude mcp add sip-advisor -- python /abs/path/workshop/sip-advisor-mcp/server.py
# set MFAPI_TOKEN in the shell that launches claude, or via --envConectar con ChatGPT
Ejecuta en modo HTTP, expónlo (cloudflared tunnel --url http://localhost:8000 o ngrok http 8000) y luego ve a Ajustes → Conectores → Avanzado → Modo desarrollador → Añadir e introduce la URL https://…/mcp. Los conectores normales de ChatGPT necesitan herramientas search/fetch; este servidor funciona únicamente mediante modo desarrollador o la API Responses.
Guion de demostración
"Hago un SIP de ₹10,000 al mes en NIFTY 50. Dado dónde está el mercado, ¿debo aumentarlo, mantenerlo o pausarlo?"
El modelo encadena get_nifty_valuation_context → get_nifty_trend → recommend_sip_action(band, trend, 10000) y explica la decisión con el percentil de PE, la tendencia y la fecha as_of.
Nota sobre la actualidad de los datos
Las tablas de OHLC / valoración del NSE en producción pueden retrasarse con respecto al mercado en vivo durante semanas. Las herramientas devuelven as_of — menciónalo siempre en la demo y corrige la ingesta en el repositorio de datos antes de salir a producción.
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.
Related MCP Connectors
Portfolio analytics + US-equity market research for AI clients. ChatGPT deep-research compat.
Analyze any Nifty 500 stock with AI — price action, demand zones, technicals & screener.
Real-time news with bias scoring, live market data, and AI-powered options pricing
13-model stock valuation engine for AI agents - fair values for 5,900+ US stocks, updated daily.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables quantitative trading analysis with 12 tools for real-time market data, 28+ technical indicators, FinBERT-powered news sentiment analysis, and automated trading signal generation for stocks and forex.1
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered trading and portfolio management through Upstox API integration. Supports portfolio rebalancing strategies with LLM inference for automated trading decisions.
- FlicenseNot gradedqualityCmaintenanceReal-time Indian stock market sentiment intelligence. Provides NSE/BSE news sentiment, aggregated stock & sector signals, and technical analysis.1
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to real-time Indian stock market data with 34 tools for search, screening, analysis, portfolio tracking, and market insights across all NSE and BSE stocks.12962MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/girishgupta211/sip-advisor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server