
Knapcode.SampleMcpServer
MCP server by github.com/joelverhagen/knapcode.samplemcpserver
A sample MCP server using the MCP C# SDK. Generates random numbers and random weather.
About Knapcode.SampleMcpServer
Knapcode.SampleMcpServer is an MCP (Model Context Protocol) server published by joelverhagen in the official MCP registry, listed under Weather Services on Loomal. A sample MCP server using the MCP C# SDK. Generates random numbers and random weather.
It ships as a NuGet package (Knapcode.SampleMcpServer), so any MCP client that can launch a local process can run it.
Development happens in the open at github.com/joelverhagen/knapcode.samplemcpserver.
Use Knapcode.SampleMcpServer with your agent
claude mcp add knapcode-samplemcpserver -- dnx Knapcode.SampleMcpServer --yes{
"mcpServers": {
"knapcode-samplemcpserver": {
"command": "dnx",
"args": [
"Knapcode.SampleMcpServer",
"--yes"
]
}
}
}Knapcode.SampleMcpServerFrequently asked questions
- What is Knapcode.SampleMcpServer?
- Knapcode.SampleMcpServer is an MCP (Model Context Protocol) server by joelverhagen in the Weather Services category. A sample MCP server using the MCP C# SDK. Generates random numbers and random weather.
- How do I connect Knapcode.SampleMcpServer to Claude, Cursor, or another MCP client?
- Install Knapcode.SampleMcpServer from its nuget package (Knapcode.SampleMcpServer) and register it under "mcpServers" in your client's MCP configuration — for example claude_desktop_config.json or Cursor's mcp.json — then restart the client.
- Is Knapcode.SampleMcpServer open source?
- Yes — the source code is public at github.com/joelverhagen/knapcode.samplemcpserver.
- Can AI agents pay to use Knapcode.SampleMcpServer?
- Not yet through Loomal — Knapcode.SampleMcpServer is listed as a free directory entry. If its maintainer verifies ownership, they can set per-call USDC pricing that agents pay over x402, with settlement on Base.
More Weather Services MCP servers

Weather MCP Server
50
providing weather information, air quality data, and timezone utilities using the Open-Meteo API.

agrobr
25
Brazilian agricultural data for LLMs — prices, crops, climate, deforestation.

Weather Data MCP Server
13
Weather forecasts, alerts, air quality, marine, radar imagery, lightning. NOAA + Open-Meteo.

mcp-server-taiwan-weather
10
用於取得臺灣中央氣象署 API 資料的 Model Context Protocol (MCP) Server

qweather-mcp
7
a qweather mcp server

NHC MCP Server
5
NHC storm tracks, forecast advisories, watches/warnings, and HURDAT2 data
Listing data from the official MCP registry and GitHub, refreshed periodically. Not affiliated with the maintainer unless claimed. Maintain Knapcode.SampleMcpServer? Claim this listing free by verifying GitHub ownership, or contact us.