Skip to main content
Glama

IMF Data MCP Server

by c-cf

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
imf_query_prompt Returns a prompt template explaining how to query IMF data with indicators and user intentions. Returns: str: A prompt template for guiding users on querying IMF data.

Resources

Contextual data attached and managed by the client

NameDescription
list_datasets Returns IMF Dataflow information (list of datasets). Returns: dict: A dictionary containing dataset IDs and their descriptions.

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_ifs_data
Retrieves compact format time series data from the IFS database based on the input parameters. Args: freq (str): Frequency (e.g., "A" for annual). country (str): Country code, multiple country codes can be connected with "+". indicator (str): Indicator code. start (str | int): Start year. end (str | int): End year. Returns: str: Description of the queried data. Do not perform further analysis or retry if the query fails.
fetch_dot_data
Retrieves compact format time series data from the DOT database based on the input parameters. Args: freq (str): Frequency (e.g., "A" for annual). country (str): Country code, multiple country codes can be connected with "+". indicator (str): Indicator code. counterpart (str): Counterpart country code. start (str | int): Start year. end (str | int): End year. Returns: str: Description of the queried data. Do not perform further analysis or retry if the query fails.
fetch_bop_data
Retrieves compact format time series data from the BOP database based on the input parameters. Args: freq (str): Frequency (e.g., "A" for annual, "Q" for quarterly, "M" for monthly). country (str): Country code, multiple country codes can be connected with "+". indicator (str): Indicator code. start (str | int): Start year. end (str | int): End year. Returns: str: Description of the queried data. Do not perform further analysis or retry if the query fails.
fetch_cdis_data
Retrieves compact format time series data from the CDIS database based on the input parameters. Args: freq (str): Frequency (e.g., "A" for annual). country (str): Country code, multiple country codes can be connected with "+". indicator (str): Indicator code. counterpart (str): Counterpart country code. start (str | int): Start year. end (str | int): End year. Returns: str: Description of the queried data. Do not perform further analysis or retry if the query fails.
fetch_cpis_data
Retrieves compact format time series data from the CPIS database based on the input parameters. Args: freq (str): Frequency (e.g., "A" for annual). country (str): Country code, multiple country codes can be connected with "+". indicator (str): Indicator code. counter_country (str): Counterpart country code. start (str | int): Start year. end (str | int): End year. Returns: str: Description of the queried data. Do not perform further analysis or retry if the query fails.
fetch_gfsmab_data
Retrieves compact format time series data from the GFSMAB database based on the input parameters. Args: freq (str): Frequency (e.g., "A" for annual). country (str): Country code, multiple country codes can be connected with "+". unit (str): Unit code XDC or XDC_R_B1GQ (Percent of GDP). indicator (str): Indicator code. start (str | int): Start year. end (str | int): End year. Returns: str: Description of the queried data. Do not perform further analysis or retry if the query fails.
fetch_mfs_data
Retrieves compact format time series data from the MFS database based on the input parameters. Args: freq (str): Frequency (e.g., "A" for annual). country (str): Country code, multiple country codes can be connected with "+". indicator (str): Indicator code. start (str | int): Start year. end (str | int): End year. Returns: str: Description of the queried data. Do not perform further analysis or retry if the query fails.
fetch_fsi_data
Retrieves compact format time series data from the FSI database based on the input parameters. Args: freq (str): Frequency (e.g., "A" for annual). country (str): Country code, multiple country codes can be connected with "+". indicator (str): Indicator code. start (str | int): Start year. end (str | int): End year. Returns: str: Description of the queried data. Do not perform further analysis or retry if the query fails.
list_indicators
Returns a list of indicators for the specified dataset, read from the corresponding .json file in the local indicators directory. Args: dataset_id (str): Dataset ID, such as "IFS", "DOT", "BOP", etc. Returns: list: List of indicators.
list_countries
Returns a list of available countries for the specified dataset, read from the corresponding .json file in the local areas directory. Args: dataset_id (str): Dataset ID, such as "IFS", "DOT", "BOP", etc. Returns: list: List of countries.

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/c-cf/imf-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server