mcpField
K
knowdrift

knowdrift

Local
github.com/CloudCorpRecordsSearch0Updated 1w ago

About knowdrift

knowdrift connects MCP clients to Driflyte's topic-organized web crawl, for retrieving material from pages already crawled and indexed. It lists available topics first, then ranks documents within selected topics by relevance.

Key features

  1. 01List available topics
  2. 02Search within selected topics
  3. 03Rank documents by semantic relevance
  4. 04Limit the number of results

Use cases

  1. 01Check which subject areas the index covers
  2. 02Find answers within relevant topics
  3. 03Retrieve material from crawled pages

MCP support

It accepts MCP calls over standard input/output and forwards tool requests over streamable HTTP to Driflyte's remote service.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cloudcorprecords-knowdrift": {
"command": "npx",
"args": [
"-y",
"@reneturcios/knowdrift"
]
}
}
}
Run commandnpx -y @reneturcios/knowdrift

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@reneturcios/knowdrift0.1.0
ocighcr.io/cloudcorprecords/knowdrift:0.1.0

Tools

2

Saved tool list · updated 1w ago

This tool takes no parameters.

Details

From the project README

knowdrift

knowdrift connects an MCP client to a web crawl that is organised by topic. Instead of searching the open web blindly, you first ask which topics the crawler has already covered, then pull the documents it filed under the topics that match your question. Answers come back as ranked documents drawn from pages that were actually crawled and indexed.

This package is a thin forwarding client. It speaks MCP over stdio on one side and relays each tool call to the public remote service over streamable HTTP on the other, returning whatever the remote sends back.

Tools

list-topics

Takes no arguments. Returns the names of the topics for which crawled content is currently available, so you can discover the subject areas the index covers before searching it.

search

Retrieves the documents that best match a question inside chosen topics.

ArgumentTypeRequiredNotes
topicsarray of stringyesOne or more topic identifiers, as returned by list-topics. Only documents filed under at least one of these topics are considered.
querystringyesThe natural-language question used to rank documents by semantic relevance.
topKnumbernoHow many documents to return at most, from 1 to 30. Defaults to 10; results arrive sorted by descending relevance.

CLI usage

npx @reneturcios/knowdrift list-topics
npx @reneturcios/knowdrift search '{"topics":["technology"],"query":"How do vector databases work?","topK":5}'
npx @reneturcios/knowdrift --version

The tool subcommands accept the tool's arguments as a single JSON object string and print the first text block of the result. Exit codes are 0 on success, 1 when the call returns an error result, and 2 for usage errors.

MCP usage

Start the stdio server with the mcp subcommand:

npx -y @reneturcios/knowdrift mcp

MCP client configuration:

{
  "mcpServers": {
    "knowdrift": {
      "command": "npx",
      "args": ["-y", "@reneturcios/knowdrift", "mcp"]
    }
  }
}

Docker

docker run -i ghcr.io/cloudcorprecords/knowdrift
docker run --rm ghcr.io/cloudcorprecords/knowdrift search '{"topics":["technology"],"query":"What is new in quantum computing?"}'

With no arguments the container runs the stdio MCP server; any other arguments are passed to the CLI.

Configuration

VariableDefaultPurpose
DRIFLYTE_MCP_URLhttps://mcp.driflyte.com/mcpOverrides the upstream remote MCP endpoint that calls are forwarded to.
REQUEST_TIMEOUT_MS30000Per-request timeout for upstream calls, in milliseconds.

No account or API key is needed: the upstream service is public. When the upstream cannot be reached or answers with an error, the tool returns an error result whose text begins with knowdrift error: rather than fabricating documents.

Development

npm install
npm run build
npm test
npm run dev

The test suite runs fully offline. It drives the forwarding logic against a stubbed JSON-RPC upstream and checks the served tool list against the documented tool surface.

License

MIT — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.