Skip to main content
Glama

statespace

npm License Discord X

llms.txtサイトからインデックス化されたドキュメントを、ターミナル、AIアシスタント、またはHTTP経由で検索します。

CLI

npx statespace search "redis connection pooling"
npx statespace search "authentication" --site upstash.com
npx statespace search "rate limiting" --limit 20

オプション

フラグ

短縮形

デフォルト

説明

--site <site>

-s

—

特定のサイト(名前、ドメイン、またはURL)に制限する

--limit <n>

-l

10

最大検索結果数

--url <url>

-u

http://localhost:3000

バックエンドAPIのベースURL

Related MCP server: gnosis-mcp

MCP

MCPクライアントの設定(Claude Desktop、Cursorなど)に追加します:

{
  "mcpServers": {
    "statespace": {
      "command": "npx",
      "args": ["statespace", "mcp"]
    }
  }
}

リモートバックエンドの場合:

{
  "mcpServers": {
    "statespace": {
      "command": "npx",
      "args": ["statespace", "mcp", "--url", "https://your-backend.example.com"]
    }
  }
}

stdioの代わりにSSEサーバーとして実行する場合(リモートまたはマルチクライアントデプロイメントに便利):

npx statespace mcp --transport sse --port 4000

ツール: search

パラメータ

型

必須

デフォルト

説明

q

string

はい

—

検索クエリ

limit

integer

いいえ

10

最大検索結果数

site

string

いいえ

—

特定のサイト(名前、ドメイン、またはURL)に制限する

HTTP

バックエンドは単一のエンドポイントを公開しています:

GET /search?q=<query>[&limit=<n>][&site=<site>]
curl "http://localhost:3000/search?q=redis+connection+pooling"
curl "http://localhost:3000/search?q=authentication&site=upstash.com&limit=5"

レスポンス

[
  {
    "url": "https://upstash.com/docs/llms.txt",
    "site": "Upstash",
    "title": "Upstash Docs",
    "score": 0.8321
  }
]

siteを指定しない場合、一致するサイトごとに1つの結果を返します。siteを指定した場合、そのサイト内の個別のページを返します。

要件

Node.js 18以上

コミュニティ

ライセンス

このプロジェクトはMITライセンスの条項に基づいてライセンスされています。

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables the creation and execution of task-specific AI sub-agents defined in markdown across any MCP-compatible tool like Cursor or Claude Desktop. It integrates with execution engines such as Claude Code, Cursor CLI, and Gemini CLI to provide portable and reusable specialized agent workflows.
    1
    220 npm
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Zero-config knowledge base for AI coding agents. Loads your markdown docs into a searchable database and exposes them as MCP tools — search, read, and manage documentation without leaving your editor. Works instantly with SQLite (no setup), upgrades to PostgreSQL + pgvector for hybrid semantic search. 6 MCP tools, 3 resources, FTS5 keyword search, 176 tests.
    165 PyPI
    29
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Transforms Markdown documentation into an intelligent knowledge base with AI-powered search and Q\&A through an MCP server.
    12 npm
    9
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    One config, one CLI that turns your databases (Postgres, MySQL, SQLite, MongoDB) into MCP servers for Claude, GPT, Cursor, and any MCP-compatible agent.
    1
    MIT