substreams-search-mcp 1.0.2 → 1.0.3
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 +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,6 +67,19 @@ Add to `~/.claude/mcp.json`:
|
|
|
67
67
|
}
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
+
## Next Step: Sink Data to PostgreSQL
|
|
71
|
+
|
|
72
|
+
Found a package with `search_substreams`? Stream it into PostgreSQL with [create-substreams-sink-sql](https://www.npmjs.com/package/create-substreams-sink-sql):
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npm init substreams-sink-sql my-sink
|
|
76
|
+
cd my-sink
|
|
77
|
+
# Edit substreams.yaml with your .spkg URL, then:
|
|
78
|
+
make up && make setup && make dev
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Scaffolds a complete project with Docker Postgres, pgweb UI, Makefile automation, and a step-by-step tutorial. No custom code needed.
|
|
82
|
+
|
|
70
83
|
## How it works
|
|
71
84
|
|
|
72
85
|
The substreams.dev registry has no public API. This server scrapes the package listing pages, paginates through all results, deduplicates, and returns structured JSON. Multi-word queries search for the first word server-side and filter the rest client-side.
|