YaCy Fork Peer-to-Peer Search
A peer-to-peer web search engine you run yourself, usable by AI agents without a search API or API key. This fork of YaCy adds stricter ranking, Chinese/Japanese/Korean search, author signatures on every document, coordinator-signed trust lists and NAT traversal through a libp2p relay. Agents: MCP server (
io.github.pad01g/yacy-search), skill, llms.txt. Run it:docker run -d -p 127.0.0.1:8090:8090 -v yacy_data:/opt/yacy_search_server/DATA ghcr.io/pad01g/yacy-improved-search:latest(keep the volume: it holds the peer key; change the default passwordyacyfirst). See the project page, FORK.md and the experiments in pad01g/yacy-lab. It does not interoperate with the public YaCy network by default.Join without asking anyone: run a peer with
-e YACY_P2P_BOOTSTRAP_PEERS=http://<any member>:8090(works across Tailscale too), publish your own pages and services, list your peer in pad01g/yacy-trust or run your own coordinator (a key and a signed file, no server). How to join — 日本語 · 简体中文 · Español · Português · 한국어 · Deutsch · Français. Pull requests are welcome (branchimproved-search): code, measurements, translations.
Search Engine Software

What is YaCy?
YaCy is a full search engine application containing a server hosting a search index, a web application to provide a nice user front-end for searches and index creation and a production-ready web crawler with a scheduler to keep a search index fresh.
YaCy search portals can also be placed in an intranet environment, making it a replacement for commercial enterprise search solutions. A network scanner makes it easy to discover all available HTTP, FTP and SMB servers.
Running a personal Search Engine is a great tool for privacy; indeed YaCy was created with the privacy aspect as priority motivation for the project.
You can also use YaCy with a customized search page in your own web applications.
Related MCP server: Web Explorer MCP
Large-Scale Web Search with a Peer-to-Peer Network
Each YaCy peer can be part of a large search network where search indexes can be exchanged with other YaCy installation over a built-in peer-to-peer network protocol.
This is the default operation that enables new users to instantly access a large-scale search cluster, operated only by YaCy users.
You can opt-out from the YaCy cluster operation by choosing a different operation mode in the web interface. You can also opt-out from the network in individual searches, turning the use of YaCy a completely privacy-aware tool - in this operation mode search results are computed from the local index only.
Installation
We recommend to compile YaCy yourself and install it from the git sources. Pre-compiled YaCy packages exist but are not generated on a regular basis. Automaticaly built latest developer release is available at release.yacy.net. To get a ready-to-run production package, run YaCy from Docker.
Compile and run YaCy from git sources
You need Java 17 or later to run YaCy and ant to build YaCy. This would install the requirements on debian:
sudo apt-get install openjdk-17-jdk-headless antThen clone the repository and build the application:
git clone --depth 1 https://github.com/yacy/yacy_search_server.git
cd yacy_search_server
ant clean allTo start YaCy, run
./startYACY.shThe administration interface is then available in your web browser at http://localhost:8090.
Some of the web pages are protected and need an administration account; these pages are usually
also available without a password from the localhost, but remote access needs a log-in.
The default admin account name is admin and the default password is yacy.
Please change it after installation using the http://<server-address>:8090/ConfigAccounts_p.html service.
Stop YaCy on the console with
./stopYACY.shBuild the Windows installer
Windows installers are built with NSIS and require the release payload produced by Ant.
Install NSIS (makensis) and then run:
ant distWinInstallerThis runs the full build, stages files into RELEASE/MAIN, and produces the installer
in RELEASE/ as yacy_v<version>_*.exe.
If you want it in two steps, you can run:
ant copyMain4Dist
makensis RELEASE/WINDOWS/build.nsiRun YaCy using Docker
The Official YaCy Image is yacy/yacy_search_server:latest. It is hosted on Dockerhub at https://hub.docker.com/r/yacy/yacy_search_server
To install YaCy in intel-based environments, run:
docker run -d --name yacy_search_server -p 8090:8090 -p 8443:8443 -v yacy_search_server_data:/opt/yacy_search_server/DATA --restart unless-stopped --log-opt max-size=200m --log-opt max-file=2 yacy/yacy_search_server:latestthen open http://localhost:8090 in your web-browser.
For building Docker image from latest sources, see docker/Readme.md.
Help develop YaCy
clone https://github.com/yacy/yacy_search_server.git using build-in Eclipse features (File -> Import -> Git)
or download source from this site (download button "Code" -> download as Zip -> and unpack)
Open Help -> Install New Software -> add.. -> add archived IvyDE Updatesite "https://archive.apache.org/dist/ant/ivyde/updatesite/" -> Install "Apache IvyDE"
right-click on the YaCy project in the package explorer -> Ivy -> resolve
This will build YaCy in Eclipse. To run YaCy:
Package Explorer -> YaCy: navigate to source -> net.yacy
right-click on yacy.java -> Run as -> Java Application
Join our development community, got to https://community.searchlab.eu
Send pull requests to https://github.com/yacy/yacy_search_server
APIs and attaching software
YaCy has many built-in interfaces, and they are all based on HTTP/XML and HTTP/JSON. You can discover these interfaces if you notice the orange "API" icon in the upper right corner of some web pages in the YaCy web interface. Click it, and you will see the XML/JSON version of the respective webpage. You can also use the shell script provided in the /bin subdirectory. The shell scripts also call the YaCy web interface. By cloning some of those scripts you can easily create more shell API access methods.
License
This project is available as open source under the terms of the GPL 2.0 or later. However, some elements are being licensed under GNU Lesser General Public License. For accurate information, please check individual files. As well as for accurate information regarding copyrights. The (GPLv2+) source code used to build YaCy is distributed with the package (in /source and /htroot).
Contact
Visit the international YaCy forum where you can start a discussion there in your own language.
Questions and requests for paid customization and integration into enterprise solutions. can be sent to the maintainer, Michael Christen per e-mail (at mc@yacy.net) with a meaningful subject including the word 'YaCy' to prevent it getting stuck in the spam filter.
Michael Peter Christen
This server cannot be deployed
Maintenance
Related MCP Connectors
Keyless web, GitHub, YouTube and Reddit search and read. Delegated shop, booking and signup.
Live web search, image search, topic filters and full-text fetch over our own crawled index.
Search the web, images, videos, news, and local businesses with robust filters, freshness controls…
Pay-per-call web search, keyword trends, and evidence-backed public-page change intelligence.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceFully decentralized P2P web search engine for LLMs. Crawls, indexes, and searches the web via a peer-to-peer network — no API key, no billing. Exposes 5 MCP tools: web_search, fetch_page, crawl_url, fact_check, and status.7MIT
- AlicenseAqualityDmaintenanceEnables private web search and webpage content extraction using a local SearxNG instance, prioritizing user privacy and autonomy.22MIT
- AlicenseNot gradedqualityCmaintenanceA provider-neutral Web Search MCP server and CLI that combines live search, scholarly discovery, verified PDF downloads, URL normalization, multi-provider ranking, secure page fetching, caching, and citation-ready research evidence.MIT
- FlicenseAqualityCmaintenanceEnables keyless web search across multiple engines with fallback and relevance ranking, plus anonymous HTTP(S) page fetching, all without API keys or vendor dependencies.21-