Skip to content

ma3u/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Weather MCP in Type Script

Node tutorial based on the Quickstart guide https://modelcontextprotocol.io/quickstart/server#core-mcp-concepts

Claude Desktop:Type in: How is the weather in Redmond (Microsoft)?

  1. Build the server:
npm run build
  1. Run the server:
npm run start
  1. Run the inspector + server:
npx @modelcontextprotocol/inspector node build/index.js

alt text

  1. Add the server to Claude Desktop (MacOS) in file ~/.claudia/claude_desktop_config.json:
{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "/Users/ma3u/projects/weather/build/index.js"
      ]
    }
  }
}
  1. Restart Claude Desktop.

About

Simple Weather MCP in Type Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors