[tool] add tool for extracting meta data