/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds
mds is the metadata server. It serves all clients of the metadata APIs, including Spotlight.
The binary is a part of CoreServices public framework.