Skip to main content

MCP server for Techtenstein PDF Extract API. Fast PDF text + tables via Claude, Cline, and Cursor.

Project description

Techtenstein PDF MCP

MCP 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. Powered by the Techtenstein PDF Extract API.

Tools exposed

  • pdf_extract_text(pdf_url, ocr=False) — Extract all text from a PDF as clean plain text
  • pdf_extract_tables(pdf_url) — Extract all tables as structured row arrays
  • pdf_metadata(pdf_url) — Get title, author, page count, creation date, encryption status

Install (Claude Desktop)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "techtenstein-pdf": {
      "command": "uvx",
      "args": ["techtenstein-pdf-mcp"],
      "env": {
        "TECHTENSTEIN_API_KEY": "your_key_from_techtenstein.com"
      }
    }
  }
}

Restart Claude Desktop. pdf_extract_text, pdf_extract_tables, and pdf_metadata will appear as available tools.

Install (Cline / VS Code)

Cline auto-detects MCP servers from your Claude Desktop config. Same setup as above works.

Install (Cursor)

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "techtenstein-pdf": {
      "command": "uvx",
      "args": ["techtenstein-pdf-mcp"],
      "env": {"TECHTENSTEIN_API_KEY": "your_key"}
    }
  }
}

Get an API key

Free tier (50 extractions/day, no card): https://apis.techtenstein.com

Paid tiers start at $5/month for 2,000 extractions.

Example usage

Once installed, ask Claude:

"Extract the tables from this earnings report PDF: https://example.com/q4.pdf"

Claude will call pdf_extract_tables and return a clean structured view of every table on the page.

Or for scanned documents:

"This PDF is a scanned invoice. Extract the text: https://example.com/invoice.pdf"

Claude will call pdf_extract_text(pdf_url, ocr=True) and read the image-based text via OCR.

Response schema (text mode)

{
  "text": "Full extracted body text...",
  "page_count": 12,
  "word_count": 3450,
  "ms": 240
}

Response schema (tables mode)

{
  "tables": [
    {
      "page": 3,
      "rows": [
        ["Product", "Q1", "Q2", "Q3", "Q4"],
        ["Widget A", "1200", "1350", "1420", "1600"]
      ]
    }
  ]
}

Support

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

techtenstein_pdf_mcp-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

techtenstein_pdf_mcp-1.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file techtenstein_pdf_mcp-1.0.1.tar.gz.

File metadata

  • Download URL: techtenstein_pdf_mcp-1.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for techtenstein_pdf_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 080842651a9f850d915fa25e26dfcdc828416f2763eba37b9a5a1c67a30a45bb
MD5 1a8b12300e0d445f5d16db6d9ad10477
BLAKE2b-256 f82b6fe4f517926837e38c82ed17d1be82a605d646a8f92c57a139557443b46c

See more details on using hashes here.

File details

Details for the file techtenstein_pdf_mcp-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: techtenstein_pdf_mcp-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for techtenstein_pdf_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa42fe14e4cda1deed0aaeb942ca439db824654ff8f70d3162d9ff94fe04e1ec
MD5 79a1a5064aa13aeda80f00b17740627a
BLAKE2b-256 07b7171f58381f09ebc120f903495017394334630fab8995081ef84e2ef9a52d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page