Skip to main content
Glama
chakarai1234

Singapore News MCP Server

by chakarai1234

Singapore News MCP Server

A server that provides real-time news feeds from major Singapore news sources.

Features

  • Real-time news updates via Server-Sent Events (SSE)

  • Supports multiple Singapore news sources:

    • The Straits Times

    • Business Times

    • Channel News Asia (CNA)

Prerequisites

  • Python >=3.12

  • uv package manager

Installation

# Clone the repository git clone <repository-url> cd news_mcp # Install dependencies using uv uv sync

Usage

Running with Python

# Start the MCP server uv run news_mcp # Individual news retrievers uv run straits # Straits Times uv run business # Business Times uv run cna # Channel News Asia

Running with Docker

# Build and run using docker-compose docker compose up --build

or

# You can run using the run.sh file # This command is only for MacOS or Linux # For MacOs required Docker Desktop # Give permissions for run.sh in unix chmod +x ./run.sh # (sudo chmod) if super user required ./run.sh #For MacOS it will spin up the docker desktop builds and run the docker container in the background

Configuration

  1. Create a .env file with required environment variables:

MCP_PORT=8000
  1. For Claude Desktop integration, use the provided claude_desktop_config.json:

{ "mcpServers": { "news_streamable": { "command": "/opt/homebrew/bin/uv", "args": [ "tool", "run", "mcp-proxy", "--transport", "streamablehttp", "http://127.0.0.1:8080/mcp" ] } } }

Dependencies

  • bs4 - Web scraping

  • dateparser - Date parsing

  • httpx - HTTP client

  • mcp-proxy - MCP proxy support

  • python-dotenv - Environment variable management

License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chakarai1234/news_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server