Spec Forge MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Spec Forge MCP extract tables from report.pdf and save as tables.json"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Spec Forge MCP
Minimal NestJS MCP server for extracting tables from documents into one JSON file.
Local Setup
Install dependencies and build the server:
npm install
npm run buildCreate .env from .env.example and add your OpenRouter key:
AI_API_KEY=your-openrouter-api-key
AI_BASE_URL=https://openrouter.ai/api/v1
AI_MAX_CHUNK_CHARACTERS=40000
DEFAULT_TABLE_OUTPUT_PATH=output/document-tables.json
HTTP_HOST=127.0.0.1
HTTP_PORT=3000
HTTP_ALLOWED_ORIGIN=*The document table tool currently uses this hardcoded OpenRouter model:
anthropic/claude-3-haikuRelated MCP server: MCP_Tools
Run HTTP MCP
Start the local HTTP MCP server:
npm run start:httpThe MCP endpoint will be:
http://127.0.0.1:3000/mcpHealth check:
curl http://127.0.0.1:3000/healthConnect Claude Desktop
Claude Desktop may not connect directly to local HTTP MCP URLs from claude_desktop_config.json. Use mcp-remote as the bridge: Claude Desktop talks stdio to mcp-remote, and mcp-remote talks HTTP to this server.
Keep this server running with:
npm run start:httpThen open Claude Desktop:
Settings -> Developer -> Edit ConfigOn macOS, the config file is usually:
~/Library/Application Support/Claude/claude_desktop_config.jsonAdd this server under mcpServers:
{
"mcpServers": {
"spec-forge-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://127.0.0.1:3000/mcp",
"--allow-http",
"--transport",
"http-first"
]
}
}
}If your config already has other MCP servers, only add the spec-forge-mcp block inside the existing mcpServers object.
Fully quit and reopen Claude Desktop. After restart, Claude should show the extract_document_tables tool.
Direct HTTP Clients
Clients that support Streamable HTTP MCP can connect directly to:
http://127.0.0.1:3000/mcpExample Prompt
Use extract_document_tables on /Users/faisal/Documents/example.pdf and save the JSON to /Users/faisal/Documents/tables.jsonThe tool will always generate one JSON file.
Docker
Build the image locally:
docker build -t spec-forge-mcp .Run the container (loads variables from .env):
docker run --env-file .env -p 3000:3000 --rm spec-forge-mcpOr use Docker Compose:
docker compose up --buildMake sure AI_API_KEY (and any other AI_* vars) are present in your .env before starting.
Available Tools
1 toolextract_document_tablesExtract Document TablesA
Convert a PDF, DOCX, text, markdown, CSV, JSON, or HTML document into table data and write one JSON output file. The source can be a local file path or an HTTP/HTTPS URL.
Inputs: sourcePath (required), documentId, outputPath, maxChunkCharacters. Returns: outputPath, sourcePath, tableCount
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion between tools. The single tool has a clearly defined purpose and inputs, making its function unambiguous.
The tool name 'extract_document_tables' follows a clear verb_noun pattern and is descriptive. With only one tool, there is no inconsistency to penalize.
A single tool is too few for the apparent scope of a server named 'Spec Forge MCP'. The tool, while useful, is narrowly focused and does not justify a server-level presence on its own.
The server provides only one operation with no surrounding workflow support. There is no way to manage, list, or further process the extracted data, making the surface severely incomplete for any broader purpose.
Maintenance
Related MCP Connectors
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that exposes structured Functional Requirements Documents (FRDs) to enable AI assistants like GitHub Copilot to automatically generate complete NestJS boilerplate architectures. It orchestrates the multi-phase creation of production-ready APIs including core CRUD, database integration, JWT authentication, and unit testing.1MIT
- FlicenseNot gradedqualityDmaintenanceA NestJS app that exposes MCP-style tools backed by hardcoded JSON, allowing users to query project details and documents through natural language via Claude.-
- AlicenseNot gradedqualityDmaintenanceMCP server that gives your Claude, Cline, or Cursor session the ability to extract text, tables, and metadata from any PDF URL — including scanned PDFs via OCR.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that extracts clean text, tables, and structured data from documents, images, code, and audio files, supporting 97 formats with OCR, transcription, and code intelligence.MIT