IMF Data MCP
Retrieve and process economic data from the International Monetary Fund (IMF) API, including datasets, time series, indicators, and countries.
IMF Data MCP
This MCP server integrates with the free IMF data API to provide a set of tools and resources for retrieving and processing economic data. It enables users to query datasets, fetch time series data, and list available indicators and countries, making it easier to work with IMF data in a structured and programmatic way.
Features
- List Datasets: Retrieve a list of all available IMF datasets using the Dataflow API.
- Get Dataset Structure: Fetch the structure of a specified dataset via the DataStructure API.
- Fetch Time Series Data: Retrieve time series data for various datasets (e.g., CDIS, CPIS, MFS, IFS, etc.) using the CompactData API.
- List Indicators: List all available indicators for a specific dataset using the DataMapper API.
- List Countries: Retrieve a list of available countries for a specific dataset.
- Query Prompt Template: Provide a query prompt template to guide users on how to query data with indicators and intentions.
Installation and Usage Guide
Using uv (Recommended)
You can run the server directly using uvx without additional installation:
uvx imf-data-mcp
Using PIP
Alternatively, you can install the server using pip:
pip install imf-data-mcp
After installation, run the server with:
python -m imf_data_mcp
Configuration
You can configure the server to suit different use cases. For example, to integrate with a specific application, you might add the following configuration:
{
"mcpServers": {
"imf": {
"command": "uvx",
"args": ["imf-data-mcp"]
}
}
}
Debugging
To debug the server, you can use the MCP Inspector. For installations using uvx, run:
npx @modelcontextprotocol/inspector uvx imf-data-mcp
Contribution Guide
We welcome contributions to the imf-data-mcp project. Whether it's adding new tools, enhancing existing features, or improving documentation, your input is highly valuable. Please feel free to submit pull requests or open issues.
License
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
``
Related Servers
MCP Memory Server
An advanced memory system for Claude Desktop that provides persistent memory using MCP. Requires an Azure Cosmos DB account and an OpenAI API key.
VictoriaMetrics
A server for writing and querying time series data using the VictoriaMetrics API.
CData Tableau CRM Analytics Server
A read-only MCP server for querying live Tableau CRM Analytics data using the CData JDBC Driver.
Cloudera Iceberg MCP Server (via Impala)
Provides read-only access to Apache Iceberg tables using Apache Impala.
PostgreSQL MCP Server by CData
A read-only MCP server for PostgreSQL, enabling LLMs to query live data from PostgreSQL databases.
Binance Cryptocurrency MCP
Access real-time Binance cryptocurrency market data, including prices, order books, and trading history.
Open Census MCP Server
Access and query U.S. Census demographic data using natural language.
Polygon MCP Server
Provides on-chain tools to interact with the Polygon PoS blockchain.
NCBI Entrez MCP Server
Access NCBI's suite of APIs, including E-utilities, BLAST, PubChem, and PMC services.
AskTable
Interact with AskTable SaaS or local deployments to query data sources using natural language.