cafci-mcp
MCP server for querying and managing daily yield data of Argentine FCI funds (Fima and Pionero families) via CAFCI, with tools for backfilling, ranking, and series retrieval.
README
cafci-mcp
Conector MCP de rendimientos de FCI (familias Fima de Galicia y Pionero de Macro), con serie diaria de VCP oficial CAFCI en SQLite sobre volumen persistente de Railway.
Fuentes
- Ingesta: ArgentinaDatos (
api.argentinadatos.com/v1/finanzas/fci/{categoria}/{fecha}) — republica los datos diarios de CAFCI en JSON, sin autenticación. Categorías: mercadoDinero, rentaFija, rentaVariable, rentaMixta, otros. - Contraste: API oficial CAFCI (
api.cafci.org.ar/fondo/{id}/clase/{id}/rendimiento/{desde}/{hasta}), por fondo/clase ID mapeado.
Herramientas
| Tool | Función |
|---|---|
fci_actualizar |
Carga el último dato diario de las 5 categorías (solo familias configuradas). Idempotente. |
fci_backfill(desde, hasta, max_dias=10) |
Carga histórica por tramos, commit por día (a prueba de gateway timeout). |
fci_listar_fondos(familia?) |
Fondos indexados con cobertura de fechas. |
fci_rendimiento(fondo, desde?, hasta?, dias?) |
Rendimiento directo + TNA/TEA equivalentes sobre serie local. |
fci_comparar(dias=30, familia?, categoria?) |
Ranking de fondos por rendimiento en ventana. |
fci_serie(fondo, desde, hasta) |
Serie diaria VCP/patrimonio. |
fci_estado_indice |
Diagnóstico del índice local. |
fci_registrar_cafci_id(fondo, fondo_id, clase_id) |
Mapea fondo → IDs oficiales CAFCI. |
fci_cafci_rendimiento(fondo, desde, hasta) |
Rendimiento oficial en vivo desde api.cafci.org.ar. |
Despliegue en Railway (patrón estándar)
- Crear repo
cafci-mcpen la orgpatricioargota-collaby subir estos archivos. - En Railway: New Project → Deploy from GitHub repo → seleccionar
cafci-mcp. - Variables: agregar
PORT=8000(explícita, como siempre). - Volumen: agregar volumen persistente montado en
/data. - Settings → Networking → Generate Domain (puerto 8000).
- Verificar:
https://<dominio>.up.railway.app/mcpdebe responder (405/406 a un GET simple es normal; el 421 "Invalid Host header" indicaría DNS rebinding activo — ya está deshabilitado enmain()). - En Claude.ai → Configuración → Conectores → Agregar conector personalizado → URL
https://<dominio>.up.railway.app/mcp.
Primera carga
fci_actualizar→ trae el último día.fci_backfill("2026-01-01", "2026-07-14")→ histórico por tramos de 10 días hábiles; relanzar con la fecha que indique la respuesta hasta completar.fci_estado_indice→ verificar cobertura.
Configuración opcional
FCI_FAMILIAS(env): familias a indexar, defaultfima,pionero.DB_PATH(env): ruta de la base, default/data/fci.db.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.