Cloudflare Worker MCP server for Claude tools

Cloudflare Worker MCP server for Claude tools

cf-mcp-server•byanishgowda21

A Cloudflare Worker that implements the Model Context Protocol to give Claude weather, IP geolocation, web search, and HTTP request tools.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides a weather tool that fetches current weather data for any city.
  • •Provides an IP geolocation tool for looking up detailed information about any IP address.
  • •Provides a Google web search tool with a configurable result count.
  • •Provides an HTTP request proxy for custom requests with control over headers, method, and body.

BEST FOR

  • •Getting current weather for a city from within Claude conversations.
  • •Looking up geolocation details for an IP address.
  • •Performing web searches and making custom HTTP requests through Claude.

ABOUT CF-MCP-SERVER

Cloudflare Worker MCP server for Claude tools is cataloged as an MCP server attributed to anishgowda21. A Cloudflare Worker that implements the Model Context Protocol to give Claude weather, IP geolocation, web search, and HTTP request tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Cloudflare Worker MCP server for Claude tools are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the worker still operate if some API keys are not configured?

Yes; functions whose API keys are unset return an error, but the rest of the worker continues to function.

How many search results can the Google web search tool return?

Between 1 and 10 results, with a default of 5.

Upstream README

View this exact version on GitHub

README.md · 70670d89135e · Fetched 2026-11-13 11:01:58 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP-Enabled Cloudflare Worker for Claude

This repository contains a Cloudflare Worker implementing the Model Context Protocol (MCP), which allows Claude to access various external services and APIs directly from your conversations.

Features

The worker provides the following tools for Claude to use:

  • Weather Information: Fetch current weather data for any city
  • IP Geolocation: Look up detailed information about any IP address
  • Web Search: Perform Google searches with customizable result count
  • HTTP Request Proxy: Make custom HTTP requests to any endpoint with full control over headers, methods, and body data

Setup Instructions

Prerequisites

  • Node.js and npm installed
  • Cloudflare account

Installation

  1. Install Wrangler CLI
  npm install -g wrangler
  1. Log in to Cloudflare
  wrangler login
  1. Clone this repository
  git clone https://github.com/anishgowda21/cf-mcp-server.git
  cd cf-mcp-server
  1. Install dependencies
  npm install
  1. Set up MCP
  npx workers-mcp setup

Configuration

You'll need to set the following environment variables in the Cloudflare Dashboard (recommended for security) instead of in the wrangler.toml file:

  • OPENWEATHERMAP_API_KEY (for weather data)
  • IPINFO_API_KEY (for IP geolocation)
  • GOOGLE_API_KEY (for web search)
  • GOOGLE_CX (for web search)

To do this:

  1. Go to the Cloudflare Dashboard
  2. Navigate to Workers & Pages
  3. Select your worker
  4. Go to Settings > Variables
  5. Add your environment variables under "Environment Variables"

Note: If you don't need a particular service, you can simply not set its API key. The corresponding function will return an error when called, but the rest of the worker will continue to function.

Deployment

Deploy your worker to Cloudflare:

npm run deploy

Usage with Claude

Once deployed, you can use your MCP server with Claude. To do this, simply ask Claude to use your worker for various tasks:

  • "Get the weather for Tokyo"
  • "Look up information about IP address 8.8.8.8"
  • "Search the web for 'latest AI developments'"
  • "Make a GET request to https://example.com/api/data"

Claude will automatically use the appropriate function based on your request.

Function Reference

getWeatherData(cityName: string)

Fetches current weather data for the specified city.

getIpDetails(ipAddr: string)

Retrieves detailed geolocation information for an IP address. Use "me" to get information about the client's IP.

googleWebSearch(query: string, num?: number)

Performs a Google search with the specified query and returns the specified number of results (1-10, default: 5).

makeRequest(url: string, method: string, params?: object)

Makes a custom HTTP request with specified method, headers, and body data. The params object can include:

  • headers: Record of HTTP headers
  • body: Request body (string or object that will be automatically stringified)

Customization

To modify the worker or add new functions:

  1. Edit src/index.ts
  2. Add new methods to the MyWorker class with JSDoc comments to document the functionality
  3. Deploy using npm run deploy

Troubleshooting

  • If you encounter issues with API responses, check that you've set up the appropriate environment variables in the Cloudflare Dashboard
  • If a specific function isn't working, you might need to obtain the corresponding API key
  • For functions you don't need, you can comment out the relevant code in src/index.ts

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Cloudflare Worker MCP server for Claude tools from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/cf-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools