ClaudeLocalMCP.js
@chiisen
ClaudeLocalMCP.js について
自己為 Claude 寫本地端 MCP Server (JavaScript版) 很簡單,有手就行😁
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
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.
「その他」の他のコンテンツ
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
コメント