XSearchLane
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
XSearchLane
Realtime X search for agents.
Open-source MCP server, CLI, and SDK that give coding agents live X search — keyword/semantic search, handle filters, date ranges, and citations. Run locally with your upstream key, or use hosted power on Talocode Cloud.
Why it exists
Agents need social signal, not just static web pages. XSearchLane turns realtime X search into a first-class tool surface:
MCP-native — plug into OpenCode and other agent hosts
Local-first — run the open tool with your own provider key
Hosted path — sell/meter usage under
/v1/xsearchlane/*Deterministic offline mode — mock provider for tests and CI
Part of Talocode: open tools people trust, hosted power behind them.
Related MCP server: twitterapis
Architecture

Agents (OpenCode / CLI / SDK)
│
▼
XSearchLane core
runXSearch · runXResearch · MCP
│
┌────┼────────────┐
▼ ▼ ▼
xai talocode mock
(direct) (hosted) (offline)Demo

Watch the demo: xsearchlane-demo.mp4 (release asset)
# regenerate locally
cd demo && bash make-video.shInstall
npm install -g @talocode/xsearchlaneOr without install:
npx @talocode/xsearchlane@latest healthPython:
pip install talocode-xsearchlaneQuickstart
CLI
export XAI_API_KEY=... # direct upstream X search
# or
export TALOCODE_API_KEY=...
xsearchlane search --query "developers complaining about AI code review"
xsearchlane search --query "agent sandbox" --handles simonw,levelsio
xsearchlane research --query "AI coding agent pain points"
xsearchlane healthMCP (OpenCode)
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"xsearchlane": {
"type": "local",
"command": ["npx", "-y", "@talocode/xsearchlane", "mcp"],
"environment": {
"XAI_API_KEY": "{env:XAI_API_KEY}"
}
}
}
}See docs/MCP.md and examples/opencode.json.
SDK
import { runXSearch, XSearchLaneClient } from '@talocode/xsearchlane'
// Local / direct provider
const live = await runXSearch({
query: 'What are builders saying about agent memory?',
fromDate: '2026-07-01',
})
// Hosted Talocode Cloud
const client = new XSearchLaneClient({ apiKey: process.env.TALOCODE_API_KEY })
const hosted = await client.search({ query: 'MCP server launch' })Auth / env
Variable | Purpose |
| Direct upstream X search (Responses API |
| Default |
| Default |
| Hosted Talocode API |
| Default |
|
|
auto picks: xai if XAI_API_KEY is set, else talocode if TALOCODE_API_KEY is set, else mock.
Set XSEARCHLANE_PROVIDER=xapi with X_API_BEARER_TOKEN to use the official API for recent post search, news, trends, and filtered-stream rule inspection. A persistent filtered-stream consumer or webhook receiver is deployment infrastructure and is intentionally not started by the CLI or MCP server.
API surface
Local engine
Function | Description |
| Realtime X search |
| Research-style brief |
| Provider status |
| Metadata |
Hosted routes (Talocode Cloud)
Method | Path | Credits |
GET |
| 0 |
GET |
| 0 |
GET |
| 0 |
POST |
| 15 |
POST |
| 40 |
Auth:
Authorization: Bearer $TALOCODE_API_KEYMCP tools
Tool | Description |
| Live X search + filters |
| Theme/pain-point research brief |
| Health + active provider |
| Feature matrix |
| Credit table |
CLI
xsearchlane search --query "..." [--handles a,b] [--exclude c] [--from YYYY-MM-DD] [--to YYYY-MM-DD]
xsearchlane research --query "..."
xsearchlane health | pricing | capabilities
xsearchlane mcpArchitecture
Agent (OpenCode / CLI / SDK)
│
▼
XSearchLane
┌──────────────────────────┐
│ MCP · CLI · SDK · HTTP │
└────────────┬─────────────┘
│
┌──────────┼──────────┐
▼ ▼ ▼
xai talocode mock
(direct) (hosted) (offline)Develop
git clone https://github.com/talocode/xsearchlane
cd xsearchlane
npm install
npm run build
npm test
npm run mcpRelated packages
Package | Install |
XSearchLane (this package) |
|
XProLane |
|
SearchLane |
|
StackLane |
|
Talocode ecosystem
Product | Repo | Notes |
| (this package) realtime X search MCP/API | |
| X Pro setup & signal dashboard planner | |
| Agent web search & research | |
| Hosted writing/coding capability API | |
| Coding agent runtime | |
| Cloud control plane, keys, wallet | |
| Policy / gate tooling | |
| Context infrastructure | |
| Screen/agent UI tooling | |
| Memory for agents | |
| Trading tooling | |
| Developer utilities | |
| Browser automation API | |
| Invoicing | |
| Geo visibility | |
| Short-form video loop |
More: github.com/talocode · talocode.site · docs.talocode.site
Links
API base:
https://api.talocode.site
License
MIT © Talocode
This server cannot be deployed
Maintenance
Related MCP Connectors
Twitter/X read-only MCP server — 12 tools: search, users, tweets, followers, timelines, trends.
Hosted X (Twitter) MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Reddit & X data for AI agents over MCP. Semantic search, hosted, no Reddit API.
OAuth-enabled MCP server that extracts structured data from public social media posts.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Twitter/X enabling AI agents to search, post, reply, and engage with tweets.143 npm2MIT
- AlicenseAqualityAmaintenanceMCP server for the Twitter/X API, enabling search, user profiles, tweets, followers, and more via natural language.94464 npm5MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that enables searching X (Twitter) via the X API v2, with tools, security model, and install documentation.-
- AlicenseNot gradedqualityBmaintenanceMCP server for noise-reduced X (Twitter) search planning and Feedback-to-Fix engineering handoffs. Enables AI agents to generate structured search plans, filter signals, and build handoff packages via MCP tools.1MIT