GG

groq/groq-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

46 stars 25 forks Качество 76 Тренд 20MIT

groq/groq-mcp-сервер - кандидат на сервер MCP, импортированный из https://github.com/groq/groq-mcp-server.

Обзор

groq/groq-mcp-сервер - кандидат на сервер MCP, импортированный из https://github.com/groq/groq-mcp-server.

Обзор (машинный перевод)

Модели запросов, размещенные на Groq для молниеносного вывода непосредственно от Клода и других клиентов MCP через протокол Model Context Protocol (MCP).

Используйте MCP для доступа к моделям зрения для интерпретации визуальных данных из изображений, мгновенно генерировать речь из текста, обрабатывать тысячи запросов с помощью пакетной обработки Groq и даже создавать приложения с полным доступом к документации Groq.

С помощью MCP-сервера Groq вы можете выполнять следующие задачи:

Агентные задачи, генерация кода и веб-поиск

  • Что такое составная бета Грока? Используйте сложный инструмент. Обобщение одной строкой затем превращается в голос Пожалуйста, верните текущую цену биткойна из API CoinGecko и вычислите значение 0,38474 биткойнов.
  • Какая сейчас погода в СФ? Генерировать и запускать код, что означает, что вы можете делать вызовы API, получать данные с веб-страниц и многое другое. Эта функция использует новую систему агентных инструментов compound-beta.

###Видение и понимание

  • “Опишите это изображение [URL на изображение]” Проанализируйте это изображение и извлеките ключевую информацию в виде JSON [URL для изображения].

###Речь и аудио Преобразуйте этот текст в речь с помощью голоса Arista-PlayAI: Прочитайте этот текст вслух на арабском языке: [текст]

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Groq MCP Server

Query models hosted on Groq for lightning-fast inference directly from Claude and other MCP clients through the Model Context Protocol (MCP).

Use MCP to access vision models for interpreting visual data from images, instantly generate speech from text, process thousands of requests through Groq’s batch processing, and even build apps with full access to Groq’s documentation.

With the Groq MCP server you can try tasks like:

  • What is Groq’s Compound Beta? Use the compound tool. Summarize with one line then turn into voice
  • Please retrieve the current Bitcoin price from CoinGecko API and calculate the value of 0.38474 bitcoins?
  • What is the weather in SF right now?
  • Generate and run code, which means you can make API calls, get data from webpages, and much more
  • This feature uses the new compound-beta agentic tools system

Vision & Understanding

  • “Describe this image [URL to image]”
  • “Analyze this image and extract key information as JSON [URL to image]”

Speech & Audio

  • “Convert this text to speech using the Arista-PlayAI voice: [text]”
  • “Read this text aloud in Arabic: [text]”
  • “Transcribe this audio file using whisper-large-v3: [url to mp3]”
  • “Translate this foreign language audio to English [url to mp3]”

Batch Processing

  • “Process the following batch of prompts: [location of a jsonlines file]” (read more here)

Quickstart with Claude Desktop

  1. Install uv (Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh or see the uv repo for additional install methods.
  2. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
  "mcpServers": {
    "groq": {
      "command": "uvx",
      "args": ["groq-mcp"],
      "env": {
        "GROQ_API_KEY": "your_groq_api_key",
        "BASE_OUTPUT_PATH": "/path/to/output/directory"  # Optional: Where to save generated files (default: ~/Desktop)
      }
    }
  }
}

If you’re using Windows, you will have to enable “Developer Mode” in Claude Desktop to use the MCP server. Click “Help” in the hamburger menu in the top left and select “Enable Developer Mode”.

If you want to install the MCP from code, scroll down to “Contributing”.

Other MCP Clients

For other clients like Cursor and Windsurf:

  1. Install the package:

    # Using UV (recommended)
    uvx install groq-mcp
    
    # Or using pip
    pip install groq-mcp
    
  2. Generate configuration:

    # Print config to screen
    groq-mcp-config --api-key=your_groq_api_key --print
Открыть полный README на GitHub

Установка

uvx groq-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →