MCP Toolkit
A free MCP server that adds read-only tools for current time, precise math, and text stats, plugging into both Claude and ChatGPT.
README
MCP Toolkit π§°
A tiny, free, open-source plugin for both Claude and ChatGPT.
It's a single MCP (Model Context Protocol) server. Because Claude and ChatGPT both now speak MCP, the same server plugs into both β you build it once and one public URL works everywhere.
Tools it adds to the AI
| Tool | What it does | Why it helps |
|---|---|---|
get_current_time |
Real current time in any timezone | LLMs don't actually know "now" |
calculate |
Precise arithmetic (+ - * / % ^, parentheses) |
LLMs make math mistakes |
word_count |
Exact word / character / sentence stats | LLMs can't reliably count |
All three are read-only β they can't change or delete anything.
The one thing to understand first
GitHub stores your code for free, but it can't run a server. (GitHub Pages only serves static files.) To be added to live Claude/ChatGPT, your server needs a public
https://URL that's actually running. So we host the code on GitHub and run it on Cloudflare Workers' free tier.
Your code on GitHub ββdeployβββΆ Cloudflare Workers (free) βββΆ https://mcp-toolkit.<you>.workers.dev/mcp
(free) (runs 24/7) β
ββββΆ paste into Claude
ββββΆ paste into ChatGPT
Cloudflare Workers' free tier is 100,000 requests/day β plenty for personal use, and it never sleeps.
What you need (all free)
- Node.js 18+ installed
- A free Cloudflare account
- A free GitHub account (to publish the code)
Step 1 β Get the code & run it locally
# from the mcp-toolkit folder
npm install
npm run dev
You'll see it running at http://localhost:8787. Open http://localhost:8787/ in a browser β you should
see a "β live" page. (Your local MCP endpoint is http://localhost:8787/mcp.)
Tip: to sanity-check the code before deploying, run
npm run type-check.
Step 2 β Deploy it (get your public URL)
npx wrangler deploy
The first time, Wrangler opens a browser to log into Cloudflare. When it finishes it prints your live URL:
https://mcp-toolkit.<your-account>.workers.dev
Your connector URL is that address with /mcp on the end:
https://mcp-toolkit.<your-account>.workers.dev/mcp
Open the base URL in a browser to confirm you see the "β live" page. Keep the /mcp URL handy β you'll
paste it into Claude and ChatGPT next.
Step 3 β Put the code on GitHub (make it public & free)
git init
git add .
git commit -m "MCP Toolkit: free MCP plugin for Claude & ChatGPT"
git branch -M main
git remote add origin https://github.com/<your-username>/mcp-toolkit.git
git push -u origin main
That's it β the code is now public and anyone can use it for free (MIT license).
Optional β auto-deploy on every push: this repo includes .github/workflows/deploy.yml.
Add a CLOUDFLARE_API_TOKEN secret in your repo (Settings β Secrets and variables β Actions), and every
git push will redeploy automatically. (Details are in the workflow file's comments.)
Step 4 β Add it to Claude
Works on Free, Pro, Max, Team, and Enterprise (Free is limited to one custom connector).
- Open claude.ai β your profile/Settings β Connectors (it may be under Customize β Connectors).
- Click Add β Add custom connector.
- Paste your URL:
https://mcp-toolkit.<your-account>.workers.dev/mcp - Click Add. (Leave the OAuth fields blank β this server needs no login.)
- In any chat, click the + menu β Connectors, enable MCP Toolkit, then ask: "What time is it right now in Asia/Kolkata?" or "Use calculate: (349 * 12.5) / 100".
Works the same in Claude Desktop (Settings β Connectors β Add custom connector). On Team/Enterprise, only an organization Owner can add it.
Step 5 β Add it to ChatGPT
ChatGPT reaches custom MCP tools through Developer Mode (a beta). Requirements: Plus, Pro, Business, Enterprise, or Edu, on ChatGPT in a desktop web browser (not the mobile app).
- ChatGPT (desktop web) β Settings β Connectors β Advanced β turn on Developer mode. (On Business/Enterprise, an admin may need to enable this first.)
- Back in Connectors, click Create / Add. Fill in:
- Name:
MCP Toolkit - Description:
Current time, precise math, and text stats - URL:
https://mcp-toolkit.<your-account>.workers.dev/mcp - Authentication: None
- Name:
- Save. In a chat, open the + / tools menu, enable MCP Toolkit, and ask the same kind of question.
Why Developer Mode? ChatGPT's older "Deep Research connectors" only accept servers that expose exactly two tools (
search+fetch). Developer Mode lifts that restriction so any MCP tools work in normal chat. If your plan can't use Developer Mode, this general-purpose toolkit won't fit the Deep-Research path β but it works fully in Claude.
Add your own tool (extend it)
Open src/index.ts and copy the pattern inside init():
this.server.registerTool(
"reverse_text",
{
title: "Reverse text",
description: "Reverse a string of text.",
inputSchema: { text: z.string() }, // a plain object of zod fields
annotations: { readOnlyHint: true }, // read-only = no confirmation prompt
},
async ({ text }) => ({
content: [{ type: "text", text: [...text].reverse().join("") }],
}),
);
Then npx wrangler deploy again (or just git push if you set up auto-deploy). Reconnect in Claude/ChatGPT
to pick up the new tool.
Troubleshooting
| Problem | Fix |
|---|---|
| Connector won't connect | Make sure you used the /mcp URL and that opening the base URL in a browser shows the "β live" page. The server must be publicly reachable (Cloudflare's is). |
npx wrangler deploy fails to log in |
Run npx wrangler login once, then retry. |
| ChatGPT has no "Developer mode" | It needs a Plus+ plan on desktop web; on Business/Enterprise an admin must enable it. |
| Tools don't appear in a chat | Open the + / connectors menu in that chat and toggle the connector on. |
| Don't put secrets in the URL | Never add ?token=... to the URL β it's blocked by the MCP spec. Use proper auth if you need it. |
How it's built (for the curious)
- Runtime: Cloudflare Workers (serverless, free tier, never sleeps)
- Library:
agents'McpAgent+ the official@modelcontextprotocol/sdk - Transports served:
/mcp(Streamable HTTP, recommended) and/sse(legacy, for older clients) - Auth: none (authless) β anyone with the URL can use the read-only tools
License
MIT β free for anyone to use, modify, and share. Replace <Your Name> in LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.