ownsearch 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -39
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
# ownsearch
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**ownsearch** is a local search layer for agents.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
It indexes approved folders into a local Qdrant store, exposes retrieval through an MCP server, and lets your agents search private knowledge without a hosted search service.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
- extracted text from PDFs
|
|
9
|
-
- Gemini embeddings with `gemini-embedding-001`
|
|
10
|
-
- Docker-backed Qdrant storage
|
|
11
|
-
- stdio MCP server for agent attachment
|
|
7
|
+
V1 is intentionally text-first: simple, reliable local retrieval for docs, code, and PDFs. Over time, **ownsearch** will expand to support multimodal files and data, including images, audio, video, and richer cross-modal search workflows.
|
|
12
8
|
|
|
13
|
-
##
|
|
9
|
+
## What it does
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
- Indexes local folders into a persistent vector store
|
|
12
|
+
- Chunks and embeds supported files with Gemini
|
|
13
|
+
- Supports incremental reindexing for changed and deleted files
|
|
14
|
+
- Exposes search and context retrieval through MCP
|
|
15
|
+
- Lets agents retrieve ranked hits, exact chunks, or grounded context bundles
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
npm install
|
|
19
|
-
npm run build
|
|
20
|
-
npm link
|
|
21
|
-
```
|
|
17
|
+
## V1 scope
|
|
22
18
|
|
|
23
|
-
|
|
19
|
+
- text and code files
|
|
20
|
+
- extracted text from PDFs
|
|
21
|
+
- Gemini `gemini-embedding-001`
|
|
22
|
+
- Docker-backed Qdrant
|
|
23
|
+
- stdio MCP server for local agent attachment
|
|
24
|
+
|
|
25
|
+
## Quickstart
|
|
26
|
+
|
|
27
|
+
Install `ownsearch` globally:
|
|
24
28
|
|
|
25
29
|
```bash
|
|
26
30
|
npm install -g ownsearch
|
|
27
|
-
```
|
|
28
31
|
|
|
29
|
-
|
|
32
|
+
Set it up, index a folder, and start searching:
|
|
30
33
|
|
|
31
|
-
```bash
|
|
32
34
|
ownsearch setup
|
|
33
35
|
ownsearch doctor
|
|
34
36
|
ownsearch index ./docs --name docs
|
|
@@ -36,33 +38,49 @@ ownsearch list-roots
|
|
|
36
38
|
ownsearch search "what is this repo about?" --limit 5
|
|
37
39
|
ownsearch search-context "what is this repo about?" --limit 8 --max-chars 12000
|
|
38
40
|
ownsearch serve-mcp
|
|
39
|
-
```
|
|
40
41
|
|
|
41
|
-
|
|
42
|
+
To connect ownsearch to a supported agent, print a config snippet for your client:
|
|
42
43
|
|
|
43
|
-
|
|
44
|
+
ownsearch print-agent-config codex
|
|
45
|
+
ownsearch print-agent-config claude-desktop
|
|
46
|
+
ownsearch print-agent-config cursor
|
|
47
|
+
Local development
|
|
44
48
|
|
|
45
|
-
|
|
46
|
-
node dist/cli.js print-agent-config codex
|
|
47
|
-
node dist/cli.js print-agent-config claude-desktop
|
|
48
|
-
node dist/cli.js print-agent-config cursor
|
|
49
|
-
```
|
|
49
|
+
If you want to run ownsearch from source while developing locally:
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
npm install
|
|
52
|
+
npm run build
|
|
53
|
+
node dist/cli.js setup
|
|
54
|
+
node dist/cli.js index ./docs --name docs
|
|
55
|
+
node dist/cli.js search "what is this repo about?" --limit 5
|
|
56
|
+
node dist/cli.js serve-mcp
|
|
52
57
|
|
|
53
|
-
|
|
54
|
-
- `search`
|
|
55
|
-
- `search_context`
|
|
56
|
-
- `get_chunks`
|
|
57
|
-
- `list_roots`
|
|
58
|
-
- `delete_root`
|
|
59
|
-
- `store_status`
|
|
58
|
+
## MCP tools
|
|
60
59
|
|
|
61
|
-
`index_path`
|
|
60
|
+
* `index_path`
|
|
61
|
+
* `search`
|
|
62
|
+
* `search_context`
|
|
63
|
+
* `get_chunks`
|
|
64
|
+
* `list_roots`
|
|
65
|
+
* `delete_root`
|
|
66
|
+
* `store_status`
|
|
62
67
|
|
|
63
68
|
## Notes
|
|
64
69
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
70
|
+
* Config is stored in `~/.ownsearch/config.json`
|
|
71
|
+
* Qdrant runs locally in Docker as `ownsearch-qdrant`
|
|
72
|
+
* `GEMINI_API_KEY` must be available in the environment or `.env`
|
|
73
|
+
|
|
74
|
+
## Roadmap
|
|
75
|
+
|
|
76
|
+
Planned after the text-first v1:
|
|
77
|
+
|
|
78
|
+
* richer document extraction
|
|
79
|
+
* better reranking and deduplication
|
|
80
|
+
* watch mode for automatic reindexing
|
|
81
|
+
* HTTP MCP transport
|
|
82
|
+
* multimodal indexing for images, audio, video, and richer document formats
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ownsearch",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Text-first local document search MCP server backed by Gemini embeddings and Qdrant.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "
|
|
33
|
+
"url": "https://github.com/Grumppie/OwnSearch.git"
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/Grumppie/OwnSearch#readme",
|
|
36
36
|
"bugs": {
|