Google XYZ and TMS enabled mbtiles server.
Uses tilelive.js and node-mbtiles.
Read more about map tiles and tile schemes at Tiles à la Google Maps.
From npm
$ npm install -g mbtileserv
Or from source
$ git clone https://github.com/Eniro/mbtileserv.git
$ cd mbtileserv
$ npm install -g
Start server on port 5000 and load all .mbtiles in the current directory
$ mbtileserv
Start server on port 8080 and load all .mbtiles in the /data directory
$ mbtileserv /data 8080
Run example page (shows all loaded layers)
Fetch a Google XYZ tile
http://localhost:5000/xyz/plain_1/3/2/2.png
Fetch a TMS tile