MCPcopy Index your code
hub / github.com/claroty/access_parser

github.com/claroty/access_parser @V0.0.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release V0.0.6 ↗ · + Follow
37 symbols 131 edges 6 files 16 documented · 43%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AccessDB Parser (Pure Python)

Microsoft Access (.mdb / .accdb) database files parser. The parsing logic is fully written in python and works without any external binary dependencies.

Installing

Use pip: pip install access-parser

Or install manually:

git clone https://github.com/ClarotyICS/access_parser.git
cd access_parser
python3 setup.py install

Demo

asciicast

Usage Example

from access_parser import AccessParser

# .mdb or .accdb file
db = AccessParser("/path/to/mdb/file.mdb")

# Print DB tables
print(db.catalog)

# Tables are stored as defaultdict(list) -- table[column][row_index]
table = db.parse_table("table_name")

# Pretty print all tables
db.print_database()

Known Issues

This library was tested on a limited subset of database files. Due to the differences between database versions and the complexity of the parsing we expect to find more parsing edge-cases.

To help us resolve issues faster please provide as much data as you can when opening an issue - DB file if possible and full trace including log messages.

Thanks

  • This library was made possible by the great work by mdb-tools. The logic in this library heavily relies on the excellent documentation they have https://github.com/brianb/mdbtools
  • Huge thanks to Mashav Sapir for the help debugging, CRing and contributing to this project https://github.com/mashavs

Core symbols most depended-on inside this repo

parse
called by 11
access_parser/access_parser.py
version_specific
called by 9
access_parser/parsing_primitives.py
parse_type
called by 4
access_parser/utils.py
_get_overflow_record
called by 4
access_parser/access_parser.py
parse_data_page_header
called by 3
access_parser/parsing_primitives.py
parse_relative_object_metadata_struct
called by 3
access_parser/parsing_primitives.py
parse_table
called by 3
access_parser/access_parser.py
get_decoded_text
called by 2
access_parser/utils.py

Shape

Method 21
Function 13
Class 3

Languages

Python100%

Modules by API surface

access_parser/access_parser.py24 symbols
access_parser/utils.py7 symbols
access_parser/parsing_primitives.py5 symbols
examples/parse_db.py1 symbols

For agents

$ claude mcp add access_parser \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact