freqtrade-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FREQTRADE_DOCS_PATH | No | Path to the freqtrade 'docs/' directory for documentation tools | |
| FREQTRADE_MCP_LOG_LEVEL | No | Logging level: DEBUG, INFO, WARNING, ERROR, CRITICAL | WARNING |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| freqtrade_list_strategy_methodsA | List all overridable methods from IStrategy. Returns method names with brief descriptions. Use the optional filter parameter to narrow results by keyword (e.g., "entry", "exit", "indicator", "callback", "custom"). Args: filter: Optional keyword to filter methods. Returns: List of method summaries with name, brief description, and callback flag. |
| freqtrade_get_method_signatureA | Get full signature of a specific IStrategy method. Returns the complete method signature including all parameters with their types, default values, return type, and the full docstring. Args: method_name: Name of the IStrategy method to inspect. Returns: Method signature details including parameters, return type, and docstring. |
| freqtrade_get_class_infoA | Inspect any freqtrade class. Returns class docstring, method resolution order (MRO), public methods, and class-level attributes for a given fully-qualified class path. Args: class_path: Fully-qualified class path (e.g., "freqtrade.strategy.interface.IStrategy"). Returns: Class introspection result with docstring, MRO, methods, and attributes. |
| freqtrade_list_enumsA | List all trading-related enums from freqtrade. Returns enum names, their module paths, docstrings, and member counts. Use the optional filter to narrow results. Args: filter: Optional keyword filter for enum names or descriptions. Returns: List of enum summaries. |
| freqtrade_get_enum_valuesA | Get all values of a specific freqtrade enum. Returns every member of the enum with its name and value. Args: enum_path: Fully-qualified enum path (e.g., "freqtrade.enums.signaltype.SignalDirection"). Returns: Enum details including all member names and values. |
| freqtrade_search_codebaseA | Search for symbols in the freqtrade codebase by name pattern. Searches for classes, functions, constants, and enums matching the given pattern. Supports basic regex patterns using alphanumeric characters, underscores, and standard regex operators. Args: query: Search pattern for symbol names. Supports basic regex. Returns: List of matching symbols with their module paths and kinds. |
| freqtrade_get_callback_infoA | Get detailed info about a strategy callback method. Returns the full signature, parameters with types, return type, and docstring for a strategy callback like bot_start, custom_stake_amount, custom_stoploss, etc. Args: callback_name: Name of the strategy callback method. Returns: Detailed callback information including signature and docstring. |
| freqtrade_get_config_schemaA | Return known freqtrade configuration keys and their descriptions. Lists configuration keys organized by section. Use the optional section parameter to filter by a specific config area. Args: section: Optional section filter (e.g., "exchange", "pairlist", "stoploss"). Returns: List of config key entries with descriptions. |
| freqtrade_get_dataframe_columnsA | List common DataFrame columns available in strategy methods. Returns column names, types, and descriptions for columns available in populate_indicators, populate_entry_trend, populate_exit_trend, etc. Args: context: Optional context filter: "ohlcv", "entry", "exit", or "indicators". If omitted, returns all known columns. Returns: List of DataFrame column entries with descriptions and contexts. |
| freqtrade_get_version_infoB | Return installed freqtrade version and MCP server version. Returns version information including the freqtrade-mcp server version, installed freqtrade version, and Python version. Returns: Version information dictionary. |
| freqtrade_list_docsA | List available freqtrade documentation topics. Returns a list of documentation pages with their topic identifiers and titles. Use the optional filter to narrow results by keyword. Args: filter: Optional keyword to filter topics (e.g., "strategy", "freqai"). Returns: List of doc topic summaries, or an error message if docs not available. |
| freqtrade_search_docsA | Search across all freqtrade documentation. Performs full-text search across all documentation pages and returns matching snippets with surrounding context. Multiple words use AND logic. Args: query: Search text (e.g., "custom stoploss", "backtesting timerange"). max_results: Maximum number of results to return (1-50, default 10). Returns: List of search results with snippets, or error if docs not available. |
| freqtrade_get_docA | Read a specific freqtrade documentation page. Returns the full markdown content of a documentation page by topic name. Use freqtrade_list_docs to discover available topic names. Args: topic: Topic name (e.g., "strategy-callbacks", "configuration", "commands/backtesting"). Returns: Full document content with title and metadata, or error if not available. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
Each tool has a clearly distinct purpose with no overlap. Tools are organized by specific domains: callback inspection, class introspection, configuration, dataframe columns, documentation access, enum handling, method signatures, version info, listing operations, and codebase/documentation search. The descriptions clearly differentiate their scopes, making it easy for an agent to select the right tool.
All tools follow a consistent 'freqtrade_verb_noun' pattern with snake_case throughout. The verbs are well-chosen and descriptive (get, list, search), and the nouns precisely indicate the target resource (callback_info, class_info, config_schema, etc.). This consistency makes the toolset predictable and easy to navigate.
With 13 tools, this server is well-scoped for its purpose of providing introspection and documentation access for the freqtrade trading framework. Each tool serves a specific, valuable function in exploring the codebase, configuration, and documentation, with no redundant or trivial tools. The count is appropriate for comprehensive coverage without being overwhelming.
The toolset provides complete coverage for introspection and documentation needs within the freqtrade domain. It includes tools for getting detailed info on callbacks, classes, configs, dataframes, methods, and enums; listing available docs, enums, and methods; searching code and docs; and checking versions. There are no obvious gaps—agents can fully explore and understand the framework's capabilities.