x-search-mcp
by Scoheart
README.md
# @scoheart/x-search-mcp
[](https://opensource.org/licenses/MIT)
Independent Model Context Protocol (MCP) server providing real-time `x_search` capabilities using xAI's responses API, inspired by Nous Research's Hermes Agent.
## Quick Start
### Installation
```bash
git clone https://github.com/Scoheart/x-search-mcp.git
cd x-search-mcp
npm install
npm run build
```
### Authentication
Choose between direct API Key or Subscription OAuth:
```bash
# 1. Using API Key
export XAI_API_KEY="xai-your-api-key"
# 2. Or using Grok Subscription via Device Code OAuth
node bin/x-search-mcp.js auth login
```
### Run Server
```bash
# stdio MCP server for agent clients (Claude Desktop, Cursor, Cline, etc.)
node bin/x-search-mcp.js
```
See [TOOL.md](./TOOL.md) for full Chinese documentation, parameters, and configuration options.
## License
[MIT](./LICENSE) © Scoheart
See [THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md) for third-party notices (Hermes Agent).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues