Office document CLI for agents — read, write, and edit Word, Excel, PowerPoint without Office installed.
Open-source MCP server, CLI, and SDK that give coding agents direct access to Office documents — Word (.docx), Excel (.xlsx), and PowerPoint (.pptx). No Microsoft Office installation required.
Agents need to process business documents — reports, spreadsheets, presentations. DocuLane makes this possible without Office licenses or installations:
- MCP-native — plug into OpenCode and other agent hosts
- Local-first — run the open tool with your own files
- Hosted path — sell/meter usage under
/v1/doculane/* - No dependencies — works without Microsoft Office
Part of Talocode: open tools people trust, hosted power behind them.
npm install -g @talocode/doculaneOr without install:
npx @talocode/doculane@latest healthPython:
pip install talocode-doculane# Read a Word document
doculane read report.docx
# Read an Excel spreadsheet
doculane read data.xlsx
# Read a PowerPoint presentation
doculane read slides.pptx
# Get document info
doculane info report.docx
# Write a new Excel file
doculane write output.xlsx '{"sheets":[{"name":"Sheet1","data":[["Name","Age"],["Alice",30],["Bob",25]]}]}'{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"doculane": {
"type": "local",
"command": ["npx", "-y", "@talocode/doculane", "mcp"]
}
}
}import { DocuLaneClient } from '@talocode/doculane'
const client = new DocuLaneClient()
// Read an Excel file
const excelData = await client.read('report.xlsx')
console.log(excelData.sheets[0].data)
// Write a Word document
await client.write('output.docx', {
content: 'Hello World',
paragraphs: ['First paragraph', 'Second paragraph']
})
// Get document info
const info = await client.getInfo('presentation.pptx')| Format | Extension | Read | Write | Notes |
|---|---|---|---|---|
| Word | .docx, .doc | ✅ | ✅ | Text extraction and creation |
| Excel | .xlsx, .xls | ✅ | ✅ | Multi-sheet support |
| PowerPoint | .pptx, .ppt | ✅ | ✅ | Slide management |
| Function | Description |
|---|---|
readExcel(path) |
Read Excel workbook |
writeExcel(path, data) |
Write Excel workbook |
readWord(path) |
Read Word document |
writeWord(path, data) |
Write Word document |
readPowerPoint(path) |
Read PowerPoint |
writePowerPoint(path, data) |
Write PowerPoint |
getInfo(path) |
Get document metadata |
| Method | Path | Credits |
|---|---|---|
| GET | /v1/doculane/health |
0 |
| GET | /v1/doculane/pricing |
0 |
| GET | /v1/doculane/capabilities |
0 |
| POST | /v1/doculane/read |
5 |
| POST | /v1/doculane/write |
5 |
| POST | /v1/doculane/info |
2 |
Auth:
Authorization: Bearer $TALOCODE_API_KEY
| Tool | Description |
|---|---|
doculane_read |
Read Office document |
doculane_write |
Write Office document |
doculane_info |
Get document metadata |
doculane_health |
Health check |
doculane_capabilities |
Supported features |
doculane read <file>
doculane write <file> <json-data>
doculane info <file>
doculane health
doculane capabilities
doculane pricingAgent (OpenCode / CLI / SDK)
│
▼
DocuLane
┌──────────────────────────┐
│ MCP · CLI · SDK · HTTP │
└────────────┬─────────────┘
│
┌──────────┼──────────┐
▼ ▼ ▼
local talocode mock
(engine) (hosted) (offline)
git clone https://github.com/talocode/doculane
cd doculane
npm install
npm run build
npm test
npm run mcp| Package | Install |
|---|---|
| DocuLane (this package) | npm i @talocode/doculane · pip install talocode-doculane |
| ContextLane | pip install contextlane |
| DevTool | pip install talocode-devtool |
| Product | Repo | Notes |
|---|---|---|
| DocuLane | talocode/doculane |
(this package) Office document CLI |
| XSearchLane | talocode/xsearchlane |
Realtime X search MCP/API |
| XProLane | talocode/xprolane |
X Pro setup & signal dashboard |
| SearchLane | talocode/searchlane |
Agent web search & research |
| Tera | talocode/tera |
Hosted writing/coding capability API |
| Codra | talocode/codra |
Coding agent runtime |
| StackLane | talocode/stacklane |
Cloud control plane, keys, wallet |
| GateLane | talocode/gatelane |
Policy / gate tooling |
| ContextLane | talocode/contextlane |
Context infrastructure |
| ScreenLane | talocode/screenlane |
Screen/agent UI tooling |
| MemoryLane | talocode/memorylane |
Memory for agents |
| Tradia | talocode/tradia |
Trading tooling |
| DevTool | talocode/devtool |
Developer utilities |
| Agent Browser | talocode/agent-browser |
Browser automation API |
| InvoiceLane | talocode/invoicelane |
Invoicing |
| GeoLane | talocode/geolane |
Geo visibility |
| ClipLoop | talocode/cliploop |
Short-form video loop |
More: github.com/talocode · talocode.site · docs.talocode.site
- GitHub: https://github.com/talocode/doculane
- npm: https://www.npmjs.com/package/@talocode/doculane
- Docs: https://docs.talocode.site
- API base:
https://api.talocode.site
MIT © Talocode