About Coingecko MCP
Coingecko MCP is an MCP server published by ombaviskar18 in the Developer Tools category: coinGecko MCP Server for Blockchain Data.
The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/ombaviskar18/Coingecko_mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Coingecko MCP
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 8 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
coingeckomcp
A CoinGecko MCP that lets AI securely fetch real-time crypto prices, market charts
Features
- ✅ Built with Model Context Protocol (MCP) SDK
- 🔐 Integrated authentication via Osiris Hub
- 📊 Memory (Development) database
- 🔷 TypeScript
- 🛠️ Example tools, resources, prompts, and schemas
Quick Start
-
Install dependencies:
pnpm install -
Configure environment:
cp .env.example .env # Edit .env with your configuration -
Start development server:
pnpm run dev
Configuration
Environment Variables
HUB_BASE_URL- Your Osiris Hub URLOAUTH_CLIENT_ID- OAuth client ID from HubOAUTH_CLIENT_SECRET- OAuth client secret from HubDATABASE_ADAPTER- Database type (memory)
Database Setup
Memory Database
No setup required. Data is stored in memory (development only). ⚠️ Warning: Data will be lost when the server restarts.
Development
Available Scripts
pnpm run dev- Start development server with hot reloadpnpm run build- Build for production (TypeScript → JavaScript)pnpm run start- Start production serverpnpm run type-check- Run TypeScript type checking
Project Structure
coingeckomcp/
├── index.ts # Main MCP server entry point
├── client.ts # MCP client setup and configuration
├── tools/
│ └── hello-world.ts # Simple hello world tool
├── resources/
│ └── hello-world.ts # Hello world resource
├── prompts/
│ └── hello-world.ts # Hello world prompt template
├── schema/
│ └── index.ts # Zod schema definitions
├── .env # Environment variables
├── .env.example # Environment template
└── package.json # Dependencies and scripts
MCP Components
Tools
Hello World Tool
A simple greeting tool that demonstrates basic MCP tool functionality.
Usage:
{
"name": "hello_world",
"arguments": {
"name": "Alice"
}
}
Resources
Hello World Resource
Provides a simple JSON resource demonstrating MCP resource functionality.
URI: hello://world
Prompts
Hello World Prompt
Generates prompts about specified topics.
Arguments:
topic(optional): Topic to ask about (default: "osiris")
Adding New Components
Adding a Tool
Create a new file in tools/ and export the tool registration function:
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
import { z } from 'zod';
export function registerMyTool(server: McpServer) {
const MyToolSchema = z.object({
param1: z.string().describe('Parameter description')
});
server.tool('my_tool', 'Description of what this tool does', MyToolSchema, async ({ param1 }) => {
// Your tool logic here
return {
content: [{
type: 'text',
text: `Tool result: ${param1}`
}]
};
});
}
Then register it in client.ts.
Adding a Resource
Create a new file in resources/ and export the resource registration function:
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
export function registerMyResource(server: McpServer) {
server.resource('my://resource', 'My Resource', 'Resource description', async () => {
return {
contents: [{
uri: 'my://resource',
mimeType: 'application/json',
text: JSON.stringify({ data: 'Resource data' })
}]
};
});
}
Authentication
This server uses Osiris Hub for authentication. Make sure your Hub is configured and your OAuth credentials are correct.
Deployment
-
Build the project:
pnpm run build -
Set production environment variables
-
Start the server:
NODE_ENV=production pnpm run start
Support
Built with ❤️ using Model Context Protocol and Osiris SDK
README fetched from the repository 8 days ago. The original is authoritative.