YR MCP Server
MCP Server for using Yr Weather Data as Context in LLM tools.
Overview
YR MCP Server is a server designed to utilize Yr Weather Data as context in Large Language Model (LLM) tools, enabling enhanced weather-related applications.
To use YR MCP Server, set up the environment using either uv or pip, install the necessary dependencies, and run the server to start processing weather data.
- Integration with Yr Weather Data for LLM tools - Flexible setup options using
uvorpip- Easy installation of dependencies
- Enhancing chatbots with real-time weather information.
- Providing weather context in AI-driven applications.
- Enabling data analysis and visualization of weather patterns.
Add to your AI client
Use these steps to connect YR MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"yr-mcp-server-anycontext-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yr-mcp-server-anycontext-ai"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"yr-mcp-server-anycontext-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yr-mcp-server-anycontext-ai"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"yr-mcp-server-anycontext-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yr-mcp-server-anycontext-ai"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"yr-mcp-server-anycontext-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yr-mcp-server-anycontext-ai"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"yr-mcp-server-anycontext-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yr-mcp-server-anycontext-ai"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"yr-mcp-server-anycontext-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-yr-mcp-server-anycontext-ai"
]
}
}
}FAQ
What is the purpose of YR MCP Server?
YR MCP Server allows developers to integrate weather data into their LLM applications, improving the relevance and accuracy of responses.
Is YR MCP Server easy to set up?
Yes! The server provides clear instructions for setup on both Windows and Linux platforms.
Can I use YR MCP Server for commercial applications?
Yes! YR MCP Server can be utilized in both personal and commercial projects.