Coincap Mcp
A coincap MCP server to access crypto data from the coincap API
Overview
What is CoinCap MCP?
CoinCap MCP is a server designed to access cryptocurrency data through the CoinCap API. It provides users with real-time information about various cryptocurrencies, including their prices, market capitalization, and trading volumes. This tool is essential for developers and enthusiasts who want to integrate cryptocurrency data into their applications or websites.
Features of CoinCap MCP
- Real-time Data Access: CoinCap MCP allows users to fetch live cryptocurrency data, ensuring that the information is always up-to-date.
- Comprehensive API Support: The server supports a wide range of API endpoints, enabling users to access detailed information about different cryptocurrencies.
- User-friendly Interface: The interface is designed to be intuitive, making it easy for users to navigate and retrieve the data they need.
- Open Source: CoinCap MCP is publicly available, allowing developers to contribute to its development and customize it according to their needs.
- Community Support: Being an open-source project, it has a growing community that provides support and shares enhancements.
How to Use CoinCap MCP
- Installation: Clone the repository from GitHub using the command:
git clone https://github.com/QuantGeekDev/coincap-mcp.git
- Setup: Navigate to the project directory and install the necessary dependencies:
cd coincap-mcp npm install
- Run the Server: Start the server with the following command:
npm start
- Access the API: Use the provided endpoints to access cryptocurrency data. For example, to get the current price of Bitcoin, you can make a GET request to:
http://localhost:3000/api/cryptocurrency/bitcoin
- Integrate into Your Application: Utilize the API responses in your application to display cryptocurrency data dynamically.
Frequently Asked Questions
Q1: What programming languages can I use with CoinCap MCP?
A1: CoinCap MCP is built using JavaScript and Node.js, but you can access its API using any programming language that supports HTTP requests.
Q2: Is CoinCap MCP free to use?
A2: Yes, CoinCap MCP is an open-source project and is free to use. You can also contribute to its development.
Q3: How can I contribute to CoinCap MCP?
A3: You can contribute by forking the repository, making your changes, and submitting a pull request on GitHub.
Q4: Where can I find documentation for the CoinCap API?
A4: Documentation for the CoinCap API can typically be found on the official CoinCap website or within the repository's README file.
Q5: Can I use CoinCap MCP for commercial purposes?
A5: Yes, since it is open-source, you can use CoinCap MCP for commercial applications, but make sure to comply with the licensing terms.
Details
Coincap MCP
What does this server do?
Allows you to query crypto information from coincap's public API - no API keys or registration required
🚀 Quick Start
To get started, add this configuration to your Claude Desktop config file:
MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": ["coincap-mcp"]
}
}
}
Installing via Smithery
To install Coincap for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install coincap-mcp --client claude
Prerequisites
- Node.js 18+
- npx
Then, launch Claude Desktop and you're ready to go!
Sample Prompts
- What is the price of bitcoin?
- What are the available crypto assets?
- What is the market cap of ethereum?
Tools
Bitcoin Price Tool
Gets price for Bitcoin specifically, it's a simple example of a primitive API call tool
Get Crypto Price Tool
Gets price for any cryptocurrency available on coincap API. It's a good example of how to get mandatory parameter data for your tool calls
List Assets
Gets a list of all crypto assets available in coincap API
Development - local build
To build it locally:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"coincap-mcp": {
"command": "/path/to/coincap-mcp/build/index.js"
}
}
}
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
Server Config
{
"mcpServers": {
"coincap-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--quantgeekdev--coincap-mcp--coincap-mcp",
"node build/index.js"
],
"env": {}
}
}
}