← Back to Projects
Web App

MCPDaily

A self-hosted daily data dashboard served over HTTP — current time in any timezone, live weather, and categorized news headlines via three MCP tools.

PythonMCPFastAPIHTML

Overview

MCPDaily is a local-network dashboard built on the mcplearn framework that exposes three tools over a POST /invoke HTTP endpoint: a time tool (timezone conversion, UTC offset, Unix timestamp), a weather tool (OpenWeatherMap, 5-minute cache), and a news tool (NewsAPI, category/source filtering, 5-minute cache). A static HTML + vanilla JS frontend polls the endpoint and displays all data in a single dashboard layout.

Key Features

  • timetool — current time, UTC conversion, and formatted output for any IANA timezone
  • weathertool — temperature, conditions, wind, humidity, sunrise/sunset with in-memory TTL cache
  • newstool — headlines filtered by category (tech, business, health, etc.) and source with TTL cache
  • Static HTML dashboard with auto-refresh; no framework dependencies on the frontend
  • Graceful degradation — all tools handle missing API keys without crashing the server

Technical Decisions

All three tools cache their external API responses in memory with a 5-minute TTL to stay within free-tier rate limits without adding a Redis dependency. Tools degrade gracefully when API keys are absent so the server starts and the time tool remains fully functional even with no credentials configured.