Skip to main content
Glama

mcpSkfolio

mcp server for the skfolio package this server manages the context for LLMs to translate a prompt with a strategy into code and relavent backtests. The model context protocol connects LLMs with specific task related tools, resources, and example prompts to help the LLMs with the coding tasks.

As the computation will be handled by skfolio, the MCP will provide relavant resources and augmented prompts to the LLM for the coding task, and the tools will help locating which resources to look at and the prompt engineering. The current implementation focuses on the B2B application, which means it functions as a coding agent that does not directly run computation but writes the code and test needed for idea implementation.

Resources

Documentation, examples, code implementation

Tools

Categorizing user requests and find the correct funtions and classes

Prerequisites

Before using this MCP server, you need to install:

  1. Docker - Download and install from docker.com

  2. Cursor IDE - This MCP is currently only compatible with Cursor

Related MCP server: Context7 MCP

Installation

Install MCP Server

Example Prompt

Using skfolio, build a minimum variance portfolio with a target annual return of 15% with training data from 2010 - 2012 and backtest with data from 2012-2013.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides LLMs with up-to-date, version-specific documentation and code examples from library sources directly into prompts, eliminating outdated code generation and hallucinated APIs.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides LLMs with up-to-date, version-specific documentation and code examples directly from library sources, eliminating outdated training data and hallucinated APIs by fetching current documentation at prompt time.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time access to Python package documentation, source code, and symbol search to prevent AI hallucinations.
      7
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables LLMs to efficiently navigate large codebases by providing surgical access to specific code symbols via semantic search and call-graph queries.
      6
      MIT