ClaudeLocalMCP.js
@chiisen
About ClaudeLocalMCP.js
自己為 Claude 寫本地端 MCP Server (JavaScript版) 很簡單,有手就行😁
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is ClaudeLocalMCP.js?
ClaudeLocalMCP.js is a JavaScript‑based local MCP server for Claude, enabling the AI to query weather information for a specified region. It integrates with the OpenWeatherMap API and is designed for developers and Claude users who want to give the AI safe access to external tools and data.
How to use ClaudeLocalMCP.js?
Configure the MCP server in Claude Desktop: enable Developer mode, then edit claude_desktop_config.json to point to the server’s index.js file and set the envPath to your .env file containing your OpenWeatherMap API key. After that, ask Claude about weather for a specific city (e.g., “台中天氣如何?”) and allow the MCP service when prompted.
Key features of ClaudeLocalMCP.js
- Queries weather data via the OpenWeatherMap API.
- Simple setup with a
.envfile for API key storage. - Runs locally, enhancing data privacy and control.
- Provides execution logs in the Claude configuration directory.
- Demonstrates how MCP turns AI from advisor to executor.
Use cases of ClaudeLocalMCP.js
- Asking Claude for real‑time weather in any supported city.
- Learning how to build and test a minimal MCP server with JavaScript.
- Extending Claude’s capability to fetch live external data securely.
FAQ from ClaudeLocalMCP.js
How do I get an API key for the weather service?
Register for a free account at OpenWeatherMap and obtain your API key.
Where do I place the API key?
Create a .env file in the project root and add OPENWEATHERMAP_API_KEY=your_actual_api_key_here.
How do I configure Claude to use this server?
In Claude Desktop’s claude_desktop_config.json (located in C:\Users\<username>\AppData\Roaming\Claude on Windows), add the server under mcpServers with the command node and arguments pointing to your index.js file and the envPath parameter.
How can I check if the MCP server is running?
After configuration, look for the MCP server icon in Claude Desktop. You can also inspect logs in the Claude configuration directory.
Does this require Claude Desktop?
Yes, Claude Desktop is required to configure and use this MCP server.
Frequently asked questions
How do I get an API key for the weather service?
Register for a free account at OpenWeatherMap and obtain your API key.
Where do I place the API key?
Create a `.env` file in the project root and add `OPENWEATHERMAP_API_KEY=your_actual_api_key_here`.
How do I configure Claude to use this server?
In Claude Desktop’s `claude_desktop_config.json` (located in `C:\Users\<username>\AppData\Roaming\Claude` on Windows), add the server under `mcpServers` with the command `node` and arguments pointing to your `index.js` file and the `envPath` parameter.
How can I check if the MCP server is running?
After configuration, look for the MCP server icon in Claude Desktop. You can also inspect logs in the Claude configuration directory.
Does this require Claude Desktop?
Yes, Claude Desktop is required to configure and use this MCP server.
Basic information
More Other MCP servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Codelf
unbugA search tool helps dev to solve the naming things problem.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Comments