Skip to main content
For free and developer tiers, Groq will shut down llama-3.3-70b-versatile on August 16, 2026. Replace it with openai/gpt-oss-120b before that date. See Groq deprecations.
client.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your Groq API key

4

Replace Llama 3.3

Replace llama-3.3-70b-versatile with openai/gpt-oss-120b in the saved file.
5

Run the example

Save the code above as client.py, then run:
Full source: cookbook/91_tools/mcp/local_server/client.py