Kotlin News

v1.0.0Search & Data Extractionstable

MCP server for kotlin news

kotlin-newsmcpai-integration
Share:
8
Stars
0
Downloads
0
Weekly
0/5

What is Kotlin News?

Kotlin News is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for kotlin news

MCP server for kotlin news

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server for kotlin news

Use Cases

Retrieve latest Kotlin news and updates.
LicenseMIT
Languagekotlin
Versionv1.0.0
UpdatedMar 10, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx kotlin-news

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Kotlin News

Kotlin News MCP Server provides AI assistants with real-time access to news headlines and articles through the NewsAPI service. Built with Kotlin and exposing an SSE endpoint, it offers two tools — top headlines by category and full-text news search with date filtering — making it easy to pull current tech and Kotlin ecosystem news into your AI workflows.

Prerequisites

  • Java 17+ or JDK installed
  • IntelliJ IDEA or Android Studio (the project is run from an IDE)
  • A free NewsAPI key from newsapi.org
  • MCP-compatible client that supports SSE transport (e.g., Cursor)
1

Register for a NewsAPI key

Go to newsapi.org and sign up for a free account. Copy your API key from the dashboard — it is required as the NEWS_API_KEY environment variable.

2

Clone the repository

Clone the kotlin-news-mcp-server repository and navigate into the project directory.

git clone https://github.com/nishantpardamwar/kotlin-news-mcp-server.git
cd kotlin-news-mcp-server/mcpserver
3

Set the NEWS_API_KEY environment variable

In IntelliJ IDEA, open Run > Edit Configurations for the Application.kt run target and add NEWS_API_KEY as an environment variable with your NewsAPI key value.

4

Run the server from IntelliJ

Open Application.kt in IntelliJ IDEA or Android Studio, click the Run button. The server starts on http://localhost:3001 and exposes an SSE endpoint at /sse.

5

Configure your MCP client

Add the SSE endpoint to your MCP client config so it can discover and call the news tools.

Kotlin News Examples

Client configuration

Cursor MCP configuration connecting to the locally running Kotlin News server via SSE.

{
  "mcpServers": {
    "kotlin-news": {
      "url": "http://localhost:3001/sse"
    }
  }
}

Prompts to try

Once connected, try these prompts to fetch news through the MCP tools.

- "Show me the top technology headlines right now"
- "Search for news about Kotlin Multiplatform from the past week"
- "Find the most popular articles about Android development published after 2024-01-01"
- "Get the latest science and health headlines"

Troubleshooting Kotlin News

Server starts but news tools return 401 Unauthorized

Your NEWS_API_KEY is missing or incorrect. In IntelliJ, go to Run > Edit Configurations, find the Application.kt config, and verify the environment variable is set to your actual key from newsapi.org.

MCP client cannot connect to the SSE endpoint

Confirm the server is running by visiting http://localhost:3001 in a browser. If the port is taken, check for other processes using port 3001 with: lsof -i :3001. You may need to change the port in the application config.

get-top-headline returns empty results for a category

The free NewsAPI tier has coverage limitations by country. The category parameter must be one of: business, entertainment, general, health, science, sports, or technology — typos will return empty results.

Frequently Asked Questions about Kotlin News

What is Kotlin News?

Kotlin News is a Model Context Protocol (MCP) server that mcp server for kotlin news It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Kotlin News?

Follow the installation instructions on the Kotlin News GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Kotlin News?

Kotlin News works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Kotlin News free to use?

Yes, Kotlin News is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "kotlin-news": { "command": "npx", "args": ["-y", "kotlin-news"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Kotlin News?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides