The Google News MCP Server provides a seamless integration with Google News search capabilities through SerpAPI. This server implementation automatically categorizes news results and supports multiple languages and regions, making it a powerful tool for accessing up-to-date news content.
Before installation, you'll need to obtain a SERP API key:
npx -y @smithery/cli install @chanmeng666/google-news-server --client claude
npx @michaellatman/mcp-get@latest install @chanmeng666/google-news-server
Note: If using an old version of Windows PowerShell, you may need to run
Set-ExecutionPolicy Bypass -Scope Process
first.
# Using npm
npm install @chanmeng666/google-news-server
# Using yarn
yarn add @chanmeng666/google-news-server
# Using pnpm
pnpm add @chanmeng666/google-news-server
If you prefer to set up the server manually:
npm install
npm run build
Configure your environment:
Modify your claude_desktop_config.json
with the following content (adjust paths for your system):
"google-news": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\github_repository\\path_to\\dist\\index.js"
],
"env": {
"SERP_API_KEY": "your-api-key"
}
}
Start the server:
npm start
The Google News MCP Server implements the Model Context Protocol and provides the following search parameters:
q
: Search query stringgl
: Country code (e.g., 'us', 'uk')hl
: Language code (e.g., 'en', 'es')topic_token
: Token for specific news topicspublication_token
: Token for specific publishersstory_token
: Token for full coverage of a storysection_token
: Token for specific sectionsclaude_desktop_config.json
For connection issues with NVM/NPM, check the configuration solution at: https://github.com/modelcontextprotocol/servers/issues/76
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "google-news" '{"command":"node","args":["./node_modules/@chanmeng666/google-news-server/dist/index.js"],"env":{"SERP_API_KEY":"your-api-key"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"google-news": {
"command": "node",
"args": [
"./node_modules/@chanmeng666/google-news-server/dist/index.js"
],
"env": {
"SERP_API_KEY": "your-api-key"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"google-news": {
"command": "node",
"args": [
"./node_modules/@chanmeng666/google-news-server/dist/index.js"
],
"env": {
"SERP_API_KEY": "your-api-key"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect