MCP.so
登录

概览

What is mcp-servers?

mcp-servers provides Model Context Protocol (MCP) servers, specifically a weather tool that can be integrated with Claude Desktop. It is intended for users who want to extend Claude's capabilities with custom tools and prompts.

How to use mcp-servers?

Clone the repository, create a Python virtual environment with uv, run mcp install weather.py, and restart Claude Desktop. Tools appear under "Available MCP Tools" and prompts under "Attach from MCP". For debugging, use mcp dev weather.py to launch the MCP Inspector.

Key features of mcp-servers

  • Includes a weather MCP server for Claude Desktop.
  • Easy installation via mcp install.
  • Provides both tools and prompts in Claude.
  • Debugging support with MCP Inspector.
  • Configurable for Nix users.

Use cases of mcp-servers

  • Add a weather lookup tool to Claude conversations.
  • Build custom Claude integrations using MCP.
  • Test and debug MCP servers with the Inspector.

FAQ from mcp-servers

What does mcp-servers provide?

It provides an MCP weather server that adds a weather tool to Claude Desktop, along with prompts available through "Attach from MCP".

What are the prerequisites?

You need Claude Desktop (download from claude.ai) and uv (instructions at docs.astral.sh/uv).

How do I install the server?

Clone the repo, run uv venv && uv sync, activate the virtual environment, then execute mcp install weather.py. Restart Claude Desktop to see the tools.

How do I configure it for Nix users?

If uv is installed via Nix, edit ~/Library/Application Support/Claude/claude_desktop_config.json to use the full path to uv (e.g., /etc/profiles/per-user/james/bin/uv) and add a --directory argument pointing to the repository.

How can I debug if Claude Desktop reports errors?

Run mcp dev weather.py to launch the MCP Inspector for debugging.

标签

来自「其他」的更多内容