Open source instant information packages for the Presearch engine
In order to install and use presearch-packages you need to have Node.js and NPM installed locally. Node.js install
$ git clone https://github.com/PresearchOfficial/presearch-packages
$ cd presearch-packages && npm install
$ cd server && npm install && npm start
Packages available at: http://localhost:4000/?query=<sampleQuery>&packageKey=<packageKey>
Change the query and packageKey parameters accordingly
Place API keys in a .env file at the root of the project for development:
MY_API_KEY=fooandotherstuff
Include API keys from .env:
if (process.env.NODE_ENV !== 'production') {
require('dotenv').config({path: `${__dirname}/../../.env`});
}
Access API keys from package:
const API_KEY = process.env.MY_API_KEY;
The .env file is included in the .gitignore
Do not push your API keys to the presearch-packages repository
Developing a new package for the Presearch engine:
presearch-packages and clone locally if you have not already done so<username>/<packageKey>npm run create-package <packageName>Useful Github Contributing Guide
Review Step:
Open up the pull request for the package and take a look a the file changes under the Files changed tab
You're going to need to look over these files for any malicious code
Testing Step:
http://localhost:4000/?query=<sampleQuery>&packageKey=<packageKey> and insert the appropriate query and packageKey parametersFeedback Step:
If at any stage in this process you found an error or something was off or you have a question for the author, leave explicit, detailed comments on the pull request for the author to go through and fix.
$ claude mcp add presearch-packages \
-- python -m otcore.mcp_server <graph>