Supports direct integration with LangChain through langchain-groq, enabling programmatic consumption of weather data in client applications
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Serverwhat's the weather alert for Los Angeles?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Crash Course
A simple demo of MCP python sdk.
uv commands
start a new project
uv init <project-name>create a virtual environment
uv venvactivate the virtual environment
uv venv --activateinstall the dependencies
uv add <package>
uv add -r requirements.txt
uv syncrun application
uv run app.pyrun the development server
uv run devbuild the project
uv run buildRun server using MCP Inspector :
Install MCP python sdk
uv add "mcp[cli]"Run mcp inspector
uv run mcp dev server/weather.pyMCP Inspector is up and running at http://127.0.0.1:6274
Add server to claude desktop :
run command
uv run mcp install .\server\weather.pyquery "what is weather alert in CA" in claude desktop
Add server to cursor :
goto preferences > settings > mcp and copy paste claude config
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"C:\\Users\\Suraj\\Desktop\\Python\\mcp-crash-course\\mcpcrashcourse\\server\\weather.py"
]
}
}
}Then do a query in cursor chat
Directly consume server in code - using mcp-use :
Install mcp-use
uv add mcp-useInstall langchain-groq
uv add langchain-groqrun client
uv run server/client.py