🧠 Node MCP Local Server (TypeScript)
This is a Model Context Protocol (MCP) demo server implemented in Node.js + TypeScript, running via STDIO.
🚀 Features
Tools: Weather & Namaz times
Prompts: Motivation & Greeting
Resources: Example Readme
Sampling: Random quote
🧩 Run Locally
API Keys
OpenWeatherMap:
Sign up for a free account at OpenWeatherMap.
Generate your API key.
Replace
YOUR_OPENWEATHERMAP_API_KEYin your.envfile with this key.
Aladhan API:
The Aladhan API for namaz timings generally does not require an API key for its public endpoints.
📦 Environment
Copy .env.example → .env and add any API keys (if needed).
For Claude Desktop Add to your claude_desktop_config.json:
For Cursor Add to your Cursor MCP configuration:
For ChatGPT If using ChatGPT with MCP support, configure in your MCP settings:
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables users to get weather information and Islamic prayer (Namaz) times, along with motivational prompts and random quotes. Integrates with OpenWeatherMap and Aladhan APIs to provide location-based weather data and prayer schedules.