1. Conduid
  2. Maps
  3. AccuWeather MCP
MCP server · Maps

AccuWeather MCP

MCP server providing weather tools with data sourced from AccuWeather.

Unclaimed maps
34Low

Scored 6 months ago · breakdown

About AccuWeather MCP

AccuWeather MCP is an MCP server in the Maps category: mCP server providing weather tools with data sourced from AccuWeather.

Install

From source
git clone https://github.com/JonJam/accuweather-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about AccuWeather MCP

Powered by Claude · Grounded in docs

I know everything about AccuWeather MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

accuweather-mcp

Setup

  • Define the following environment variables in your system
export ACCUWEATHER_API_KEY=replace-with-your-api-key
  • Define a application-local.yaml in src/main/resources/application.yaml with the following content:
logging:
  console:
    enabled: true

Run

  • Run with SPRING_PROFILES_ACTIVE=local ./gradlew bootRun

Testing

Note: If you enable the Java debugger, it will produce output to standard out which will trigger errors in the stdio MCP protocol.

MCP Inspector

To test with MCP Inspector, run the following from the root of the repo:

npx @modelcontextprotocol/inspector -e 'JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005' java -jar "build/libs/accuweather-mcp-local-snapshot.jar"

This was sourced from this blog.

AI chat (Claude, Cursor)

  1. Add this configuration to the MCP settings:
{
  "mcpServers": {
    "accuweather-mcp": {
      "command": "PATH_TO_JAVA",
      "args": ["-jar", "ABSOLUTE_PATH_TO_REPO/build/libs/accuweather-mcp-local-snapshot.jar"],
      "env": {
        "ACCUWEATHER_API_KEY": "API_KEY"
      }
    }
  }
}

If you are using SDKMAN, command should be ~/.sdkman/candidates/java/current/bin/java

This was sourced from the MCP docs.

Example user prompt:

Use the accuweather-mcp to look up the current weather in Manchester, UK.

Docker

This project uses the Jib Gradle plugin to build a Docker image.

  • Build and load the image into your local Docker daemon:
./gradlew jibDockerBuild

The default image name is jonjam/accuweather-mcp.

To use the docker image with MCP Inspector, the command looks as follows:

npx @modelcontextprotocol/inspector docker run --rm -i --env "ACCUWEATHER_API_KEY=$ACCUWEATHER_API_KEY" jonjam/accuweather-mcp:latest

Patterns and practies

More information about patterns and practises for this project can be found in AGENTS.md.

Git

This project uses semantic-release to automate versioning, changelog generation, and publishing.

Important: Commit messages that are intended to trigger a release must be prefixed according to the Conventional Commits standard. For example:

  • feat: add new forecast endpoint
  • fix: correct hourly forecast time calculation

Spotless

This project uses the Spotless Gradle plugin to enforce a consistent Java style.

  • ./gradlew spotlessApply — format sources and fix style issues.
  • ./gradlew spotlessCheck — verify formatting without changing files.

Checkstyle

Static analysis and broader code-quality checks are handled by Checkstyle using a Google-style-based configuration (with formatting delegated to Spotless):

  • ./gradlew checkstyleMain — run Checkstyle over main sources.
  • ./gradlew checkstyleTest — run Checkstyle over test sources.

MCP

  • Tools Ensure to handle errors (i.e. validation) according to the specification

MCP Registry

This server is published to the MCP Registry.

When using an MCP client that supports the registry (e.g. Cursor, Claude Desktop), you can add io.github.jonjam/accuweather-mcp from the registry and configure your AccuWeather API key as the ACCUWEATHER_API_KEY environment variable.

Future improvements

  • Improve error handling in gateway classes based upon AccuWeather status codes
  • Add in-memory caching for AccuWeather API calls that caches data according to expires header
  • Add ability to specify desired metric (i.e. Celsius or Fahrenheit) in Tools
  • End to end integration tests based on Spring AI Examples

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About AccuWeather MCP

How do I install AccuWeather MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is AccuWeather MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is AccuWeather MCP still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.