Skip to main content
Glama

statespace

npm License Discord X

Search documentation indexed from llms.txt sites — from the terminal, from your AI assistant, or over HTTP.

CLI

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

Options

Flag

Short

Default

Description

--site <site>

-s

Restrict to a specific site (name, domain, or URL)

--limit <n>

-l

10

Max results

--url <url>

-u

http://localhost:3000

Backend API base URL

Related MCP server: gnosis-mcp

MCP

Add to your MCP client config (Claude Desktop, Cursor, etc.):

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

For a remote backend:

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

To run as an SSE server instead of stdio (useful for remote or multi-client deployments):

npx statespace mcp --transport sse --port 4000

Tool: search

Parameter

Type

Required

Default

Description

q

string

yes

Search query

limit

integer

no

10

Max results

site

string

no

Restrict to a specific site (name, domain, or URL)

HTTP

The backend exposes a single endpoint:

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"

Response

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

Without site, returns one result per matching site. With site, returns individual pages within that site.

Requirements

Node.js 18+

Community

License

This project is licensed under the terms of the MIT license.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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.
    Last updated
    1
    439
    MIT
  • A
    license
    -
    quality
    A
    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.
    Last updated
    26
    MIT
  • A
    license
    -
    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.
    Last updated
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Local-first RAG engine with MCP server for AI agent integration.

  • User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.

  • Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/statespace-tech/statespace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server