
lkbaba/grok-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
클로드 코드를 xAI의 Grok에 연결하여 실시간 웹 검색과 X(트위터) 검색 기능을 해제하는 MCP 서버입니다.
개요
클로드 코드를 xAI의 Grok에 연결하여 실시간 웹 검색과 X(트위터) 검색 기능을 해제하는 MCP 서버입니다. : 클로드가 지휘관이고, 그록은 실시간 검색과 소셜 미디어 정보 전문가입니다. xAI 콘솔에 접속해 API 키를 생성하세요. - : ~/라이브러리/애플리케이션 지원/Claude/claude_desktop_config.json - : %APPDATA%\Claude\claude_desktop_config.json - : ~/.config/Claude/claude_desktop_config.json @latest Claude Code가 재시작할 때 항상 최신 버전을 받을 수 있도록 보장합니다. 실시간 웹 및 X(트위터) 검색은 Grok이 지원합니다. Grok은 쿼리를 자동으로 분석하고, 검색(여러 라운드에 걸릴 수 있음)을 실행하며, 정보를 종합하고 인용된 답변을 제공합니다. : 인라인 인용, Grok이 사용한 검색어, 제목이 있는 출처 링크, 사용 통계가 포함된 검색 결과. 프로젝트 맥락 지원을 통한 다관점 아이디어 생성.
개요(AI 번역)
Claude Code에 Grok 4.20의 힘을 부여하세요
클로드 코드를 xAI의 Grok에 연결하여 실시간 웹 검색과 X(트위터) 검색 기능을 해제하는 MCP 서버입니다.
왜 그록 + 클로드일까?
| 그록의 강점 | 사용 사례 |
|---|---|
| 웹 + X 검색 | 투명한 소스 URL을 가진 실시간 정보 |
| X/트위터 검색 | 소셜 미디어 트렌드, 여론, 속보 추적 |
| 4-에이전트 아키텍처 | 하퍼(연구) + 벤자민(논리) + 루카스(창의) 협업 |
| 2M 토큰 컨텍스트 | 포괄적인 분석을 위한 대규모 컨텍스트 윈도우 |
철학: 클로드가 지휘관이고, 그록은 실시간 검색과 소셜 미디어 인텔리전스 전문가입니다.
퀵 스타트
1. API 키 받기
xAI 콘솔에 접속해 API 키를 생성하세요.
2. Claude 코드 구성
MCP 설정 파일에 추가하세요:
- 맥:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
@latest덕분에 Claude Code가 재시작될 때 항상 최신 버전을 받을 수 있습니다.
3. Claude 코드 재시작
도구 (2)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Grok MCP Server
Give Claude Code the power of Grok 4.20
An MCP server that connects Claude Code to xAI’s Grok, unlocking real-time web search and X (Twitter) search capabilities.
Why Grok + Claude?
| Grok’s Strengths | Use Case |
|---|---|
| Web + X Search | Real-time information with transparent source URLs |
| X/Twitter Search | Track social media trends, public opinion, breaking news |
| 4-Agent Architecture | Harper (research) + Benjamin (logic) + Lucas (creative) collaboration |
| 2M Token Context | Massive context window for comprehensive analysis |
Philosophy: Claude is the commander, Grok is the specialist for real-time search and social media intelligence.
Quick Start
1. Get API Key
Visit xAI Console and create an API key.
2. Configure Claude Code
Add to your MCP config file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"grok-mcp": {
"command": "npx",
"args": ["-y", "@lkbaba/grok-mcp@latest"],
"env": {
"XAI_API_KEY": "your_xai_api_key_here"
}
}
}
}
@latestensures you always get the newest version when Claude Code restarts.
3. Restart Claude Code
Tools (2)
grok_agent_search - Smart Search
Real-time web and X (Twitter) search powered by Grok. Grok automatically analyzes queries, executes searches (potentially multiple rounds), synthesizes information, and provides cited answers.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query |
string | Yes | - | Search query |
search_type |
enum | No | mixed |
web / x / mixed (recommended) |
model |
enum | No | grok-4.20-multi-agent-beta-0309 |
See model table below |
output_format |
enum | No | text |
text (Markdown) / json (native JSON Schema enforced) |
web_search_config |
object | No | - | Domain filters (allowed/excluded are mutually exclusive) |
x_search_config |
object | No | - | Date range, handle filters (allowed/excluded are mutually exclusive), video understanding |
Output includes: Search results with inline citations, search queries Grok used, titled source links, and usage statistics.
Example:
"Search for the latest Claude Code updates on X and the web"
grok_brainstorm - Creative Brainstorming
Multi-perspective idea generation with project context support.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
topic |
string | Yes | - | Brainstorming topic |
context |
string | No | - | Additional context |
context_files |
string[] | No | - | Project files to read as context (max 10) |
count |
number | No | 5 |
Number of ideas (1-10) |
설치
npx -y @lkbaba/grok-mcp@latest설정
{
"mcpServers": {
"grok-mcp": {
"command": "npx",
"args": ["-y", "@lkbaba/grok-mcp@latest"],
"env": {
"XAI_API_KEY": "your_xai_api_key_here"
}
}
}
}