mcpField
M
mcp_server

mcp_server

Local
github.com/karansharma3009Maps & Travel0Updated 83w ago

About mcp_server

mcp_server is a sample MCP server project used with the dolphin_mcp client, offering weather alert and forecast tools. It demonstrates calling server tools through dolphin-mcp-cli.

Key features

  1. 01Provide a weather alerts tool
  2. 02Provide a weather forecast tool
  3. 03Call tools through dolphin-mcp-cli

Use cases

  1. 01Check weather alerts through the client
  2. 02Retrieve a weather forecast through the client

MCP support

The project provides an MCP server with get_alerts and get_forecast tools, called using the dolphin_mcp client.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

mcp_server

implementing a sample mcp_server using dolphin_mcp client

mcp_config.json

this file contains config for mcp_server . we have a mcp server file server.py which has 2 utilities available get_alerts and get_forecast in tools.py file.

running dolphin client

take checkout of dolphin-mcp from github

` pip3 install -e requirements.txt

run client command

` dolphin-mcp-cli --model gpt-4o-mini " show me weather alerts from NY city"

output

Here is the weather forecast for Chicago:

Overnight
  • Temperature: 40°F
  • Wind: 10 mph SSE
  • Forecast: Areas of fog and a slight chance of rain showers. Cloudy with temperatures rising to around 51 overnight. Chance of precipitation is 20%. New rainfall amounts less than a tenth of an inch possible.

Sunday
  • Temperature: 66°F
  • Wind: 15 to 20 mph SSW
  • Forecast: Areas of fog and a slight chance of rain showers before 7am, followed by likely showers and thunderstorms. Cloudy, with temperatures falling to around 62 in the afternoon. Chance of precipitation is 70%. New rainfall amounts between a quarter and half of an inch possible.

Sunday Night
  • Temperature: 35°F
  • Wind: 15 to 20 mph WNW
  • Forecast: Chance of showers and thunderstorms. Cloudy, with temperatures rising to around 37 overnight. Chance of precipitation is 30%. New rainfall amounts between a quarter and half of an inch possible.

Monday
  • Temperature: 39°F
  • Wind: 15 mph N
  • Forecast: Chance of snow showers before 7am. Mostly cloudy, with a high near 39. Chance of precipitation is 30%.

Monday Night
  • Temperature: 33°F
  • Wind: 10 to 15 mph NE
  • Forecast: Partly cloudy, with a low around 33.

Feel free to ask for more details or updates!

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.