Sponsored by Deepsite.site

MCP Server with Claude Cursor & Weather API Integration

Created By
onon19998 months ago
mcp-memory-chat / mcp server intregation with claude/Cursor/cmd
Content

Sure! Below is a basic template for your README document, which you can edit further based on your specific project needs. It explains the integration of your MCP (Minecraft) server with Claude Cursor, CMD commands, and Weather API.


MCP Server with Claude Cursor & Weather API Integration

This project is a custom Minecraft Server (MCP) designed to integrate with Claude Cursor for enhanced interaction through the command line interface (CLI), and it also utilizes a Weather API to provide real-time weather updates in the server.

Features

  • MCP Server: A fully functional Minecraft server setup.
  • Claude Cursor Integration: Allows users to interact with the server through CLI commands, enhancing the server's user experience.
  • Weather API Integration: Get real-time weather updates directly through the server’s command line.

Setup Instructions

1. Install weather Server

  1. Download the Minecraft server from the https://www.weather.gov/documentation/services-web-api.
  2. Extract the downloaded file to your desired directory.
  3. Run the server:
    java -jar minecraft_server.jar
    

2. Integrating Claude Cursor

  1. Install Claude Cursor: Follow the installation instructions provided on Claude Cursor's GitHub page.
  2. Set up the connection: Ensure the server is linked to Claude Cursor by editing the configuration file.

3. Setup Weather API

  1. Create an account on any Weather API provider like OpenWeatherMap and get your API key.
  2. Add the API Key: In your server config file, add your API key for weather data fetching.

Example config snippet:

weather_api_key="YOUR_API_KEY"

4. Run the Server

  1. Once everything is configured, start the Minecraft server.

    java -jar minecraft_server.jar
    
  2. Execute Commands via CLI:

    • To check the weather, use:

      /weather <city_name>
      
    • Claude Cursor will fetch the data from the Weather API and return the current weather information to the Minecraft server.

Usage

  • Weather Command: Type /weather <city_name> to get real-time weather data in your Minecraft chat.

  • Custom Commands: You can extend the functionality by adding more commands via Claude Cursor integration.

Example Commands:

  1. Get Weather:
    Command: /weather New York
    Output: Current weather in New York: 72°F, Partly Cloudy

  2. Send Custom Message via Claude Cursor:
    Command: /sendmessage "Hello from Claude Cursor!"

Troubleshooting

  • MCP Server Crashes: Ensure that you have the correct version of Java installed.
  • Weather API Not Responding: Verify your API key is correctly placed and is still active.

Contributing

Feel free to fork this repository and submit pull requests with improvements or additional features. Please ensure any new code is well-documented and tested.

Reporting Issues

If you run into any bugs or issues, please open an issue on this repository, and I'll be happy to help resolve it.

License

This project is licensed under the MIT License – see the LICENSE file for details.


This README should give users clear instructions on setting up the project, using the integration, and troubleshooting common issues. You can expand this with more specific details regarding your setup. Let me know if you need further modifications!

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Amap Maps高德地图官方 MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.